MCPcopy Index your code
hub / github.com/nodejs/node / isConstEnumObjectType

Function isConstEnumObjectType

test/fixtures/snapshot/typescript.js:78586–78588  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

78584 isTypeAssignableToKind(source, kind, strict);
78585 }
78586 function isConstEnumObjectType(type) {
78587 return !!(ts.getObjectFlags(type) & 16 /* ObjectFlags.Anonymous */) && !!type.symbol && isConstEnumSymbol(type.symbol);
78588 }
78589 function isConstEnumSymbol(symbol) {
78590 return (symbol.flags & 128 /* SymbolFlags.ConstEnum */) !== 0;
78591 }

Callers 3

checkExpressionFunction · 0.85

Calls 1

isConstEnumSymbolFunction · 0.85

Tested by

no test coverage detected