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

Function createTypePredicate

test/fixtures/snapshot/typescript.js:59578–59580  ·  view source on GitHub ↗
(kind, parameterName, parameterIndex, type)

Source from the content-addressed store, hash-verified

59576 return isBracketed || !!typeExpression && typeExpression.type.kind === 316 /* SyntaxKind.JSDocOptionalType */;
59577 }
59578 function createTypePredicate(kind, parameterName, parameterIndex, type) {
59579 return { kind: kind, parameterName: parameterName, parameterIndex: parameterIndex, type: type };
59580 }
59581 /**
59582 * Gets the minimum number of type arguments needed to satisfy all non-optional type
59583 * parameters.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…