MCPcopy Create free account
hub / github.com/nodejs/node / isConstEnumSymbol

Function isConstEnumSymbol

test/fixtures/snapshot/typescript.js:78589–78591  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

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 }
78592 function checkInstanceOfExpression(left, right, leftType, rightType) {
78593 if (leftType === silentNeverType || rightType === silentNeverType) {
78594 return silentNeverType;

Callers 3

serializeEnumFunction · 0.85
isConstEnumObjectTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected