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

Function isNullableType

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

Source from the content-addressed store, hash-verified

74469 return checkNonNullType(checkExpression(node), node);
74470 }
74471 function isNullableType(type) {
74472 return !!((strictNullChecks ? getFalsyFlags(type) : type.flags) & 98304 /* TypeFlags.Nullable */);
74473 }
74474 function getNonNullableTypeIfNeeded(type) {
74475 return isNullableType(type) ? getNonNullableType(type) : type;
74476 }

Callers 1

Calls 1

getFalsyFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…