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

Function isTypeAny

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

Source from the content-addressed store, hash-verified

55713 return getTypeOfPropertyOfType(type, name) || ((_a = getApplicableIndexInfoForName(type, name)) === null || _a === void 0 ? void 0 : _a.type) || unknownType;
55714 }
55715 function isTypeAny(type) {
55716 return type && (type.flags & 1 /* TypeFlags.Any */) !== 0;
55717 }
55718 function isErrorType(type) {
55719 // The only 'any' types that have alias symbols are those manufactured by getTypeFromTypeAliasReference for
55720 // a reference to an unresolved symbol. We want those to behave like the errorType.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…