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

Function getFalsyFlagsOfTypes

test/fixtures/snapshot/typescript.js:67583–67590  ·  view source on GitHub ↗
(types)

Source from the content-addressed store, hash-verified

67581 return value.base10Value === "0";
67582 }
67583 function getFalsyFlagsOfTypes(types) {
67584 var result = 0;
67585 for (var _i = 0, types_14 = types; _i < types_14.length; _i++) {
67586 var t = types_14[_i];
67587 result |= getFalsyFlags(t);
67588 }
67589 return result;
67590 }
67591 // Returns the String, Number, Boolean, StringLiteral, NumberLiteral, BooleanLiteral, Void, Undefined, or Null
67592 // flags for the string, number, boolean, "", 0, false, void, undefined, or null types respectively. Returns
67593 // no flags for all other types (including non-falsy literal types).

Callers 2

getCommonSupertypeFunction · 0.85
getFalsyFlagsFunction · 0.85

Calls 1

getFalsyFlagsFunction · 0.85

Tested by

no test coverage detected