How to use the isEnumDeclaration function from typescript

Find comprehensive JavaScript typescript.isEnumDeclaration code examples handpicked from public code repositorys.

163
164
165
166
167
168
169
170
171
172
ts.isExportAssignment(s) ||
// as well as many declarations
ts.isTypeAliasDeclaration(s) ||
ts.isInterfaceDeclaration(s) ||
ts.isModuleDeclaration(s) ||
ts.isEnumDeclaration(s) ||
(isGlobal && (
    // in global scripts we don't wrap classes and functions so they can be accessed from non-global scripts
    ts.isClassDeclaration(s) ||
    ts.isFunctionDeclaration(s)
fork icon116
star icon294
watch icon29

+ 3 other calls in file

Other functions in typescript

Sorted by popularity

function icon

typescript.SyntaxKind is the most popular function in typescript (82777 examples)