Determines whether the given type is a boolean literal type for "true".
declare const type: ts.Type;if (isTrueLiteralType(type)) { // ...} Copy
declare const type: ts.Type;if (isTrueLiteralType(type)) { // ...}
Determines whether the given type is a boolean literal type for "true".