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

Function isPartialMappedType

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

Source from the content-addressed store, hash-verified

58690 return optionality || (isGenericMappedType(modifiersType) ? getMappedTypeOptionality(modifiersType) : 0);
58691 }
58692 function isPartialMappedType(type) {
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 }

Callers 1

structuredTypeRelatedToFunction · 0.85

Calls 1

getMappedTypeModifiersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…