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

Function isNonGenericObjectType

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

Source from the content-addressed store, hash-verified

62854 return symbol ? getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) : undefined;
62855 }
62856 function isNonGenericObjectType(type) {
62857 return !!(type.flags & 524288 /* TypeFlags.Object */) && !isGenericMappedType(type);
62858 }
62859 function isEmptyObjectTypeOrSpreadsIntoEmptyObject(type) {
62860 return isEmptyObjectType(type) || !!(type.flags & (65536 /* TypeFlags.Null */ | 32768 /* TypeFlags.Undefined */ | 528 /* TypeFlags.BooleanLike */ | 296 /* TypeFlags.NumberLike */ | 2112 /* TypeFlags.BigIntLike */ | 402653316 /* TypeFlags.StringLike */ | 1056 /* TypeFlags.EnumLike */ | 67108864 /* TypeFlags.NonPrimitive */ | 4194304 /* TypeFlags.Index */));
62861 }

Callers 2

getSpreadTypeFunction · 0.85
isRelatedToFunction · 0.85

Calls 1

isGenericMappedTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…