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

Function createUndefined

test/fixtures/snapshot/typescript.js:155112–155114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155110 return createUndefined();
155111 }
155112 function createUndefined() {
155113 return ts.factory.createIdentifier("undefined");
155114 }
155115 function isObjectLiteralType(type) {
155116 return (type.flags & 524288 /* TypeFlags.Object */) &&
155117 ((ts.getObjectFlags(type) & 128 /* ObjectFlags.ObjectLiteral */) || (type.symbol && ts.tryCast(ts.singleOrUndefined(type.symbol.declarations), ts.isTypeLiteralNode)));

Callers 2

tryGetValueFromTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected