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

Function isObjectOrArrayLiteralType

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

Source from the content-addressed store, hash-verified

69110 return !!(ts.getObjectFlags(type) & 128 /* ObjectFlags.ObjectLiteral */);
69111 }
69112 function isObjectOrArrayLiteralType(type) {
69113 return !!(ts.getObjectFlags(type) & (128 /* ObjectFlags.ObjectLiteral */ | 16384 /* ObjectFlags.ArrayLiteral */));
69114 }
69115 function unionObjectAndArrayLiteralCandidates(candidates) {
69116 if (candidates.length > 1) {
69117 var objectLiterals = ts.filter(candidates, isObjectOrArrayLiteralType);

Callers 2

getRecursionIdentityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…