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

Function isGenericMappedType

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

Source from the content-addressed store, hash-verified

58693 return !!(ts.getObjectFlags(type) & 32 /* ObjectFlags.Mapped */ && getMappedTypeModifiers(type) & 4 /* MappedTypeModifiers.IncludeOptional */);
58694 }
58695 function isGenericMappedType(type) {
58696 return !!(ts.getObjectFlags(type) & 32 /* ObjectFlags.Mapped */) && isGenericIndexType(getConstraintTypeFromMappedType(type));
58697 }
58698 function resolveStructuredTypeMembers(type) {
58699 if (!type.members) {
58700 if (type.flags & 524288 /* TypeFlags.Object */) {

Callers 15

isValidBaseTypeFunction · 0.85
_loop_15Function · 0.85
removeSubtypesFunction · 0.85
getIndexTypeFunction · 0.85
getGenericObjectFlagsFunction · 0.85
isNonGenericObjectTypeFunction · 0.85
isEmptyObjectTypeFunction · 0.85

Calls 2

isGenericIndexTypeFunction · 0.85

Tested by

no test coverage detected