Function: isBooleanLiteralType()
function isBooleanLiteralType(
node: Readonly<TypeNode>,
value: boolean
): boolean;
Defined in: _internal/type-guard-conditional-patterns.ts:20
Determine whether a type node is the exact boolean literal type requested.
Parametersโ
nodeโ
Readonly<TypeNode>
valueโ
boolean
Returnsโ
boolean