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

Function isEmptyLiteralType

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

Source from the content-addressed store, hash-verified

67451 return type.cachedEquivalentBaseType = instantiatedBase;
67452 }
67453 function isEmptyLiteralType(type) {
67454 return strictNullChecks ? type === implicitNeverType : type === undefinedWideningType;
67455 }
67456 function isEmptyArrayLiteralType(type) {
67457 var elementType = getElementTypeOfArrayType(type);
67458 return !!elementType && isEmptyLiteralType(elementType);

Callers 2

isEmptyArrayLiteralTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected