Test if a type is a NumberLiteralType.
NumberLiteralType
declare const type: ts.Type;if (isNumberLiteralType(type)) { // ...} Copy
declare const type: ts.Type;if (isNumberLiteralType(type)) { // ...}
Test if a type is a
NumberLiteralType
.