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

Function typePredicateKindsMatch

test/fixtures/snapshot/typescript.js:61388–61390  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

61386 return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, compositeType);
61387 }
61388 function typePredicateKindsMatch(a, b) {
61389 return a.kind === b.kind && a.parameterIndex === b.parameterIndex;
61390 }
61391 // This function assumes the constituent type list is sorted and deduplicated.
61392 function getUnionTypeFromSortedList(types, objectFlags, aliasSymbol, aliasTypeArguments, origin) {
61393 if (types.length === 0) {

Callers 3

applyToReturnTypesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected