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