Function: hasTrueFalseBranches()
function hasTrueFalseBranches(
node: Readonly<TSESTree.TSConditionalType>
): boolean;
Defined in: _internal/type-guard-conditional-patterns.ts:63
Determine whether a conditional type has exact true then false branches.
Parametersโ
nodeโ
Readonly<TSESTree.TSConditionalType>
Returnsโ
boolean