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

Function isFreshLiteralType

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

Source from the content-addressed store, hash-verified

63035 type;
63036 }
63037 function isFreshLiteralType(type) {
63038 return !!(type.flags & 2944 /* TypeFlags.Literal */) && type.freshType === type;
63039 }
63040 function getStringLiteralType(value) {
63041 var type;
63042 return stringLiteralTypes.get(value) ||

Callers 6

isTypeRelatedToFunction · 0.85
getNormalizedTypeFunction · 0.85
getWidenedLiteralTypeFunction · 0.85
getAssignmentReducedTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected