MCPcopy Create free account
hub / github.com/babel/babel / isArrayTypeAnnotation

Function isArrayTypeAnnotation

packages/babel-types/src/validators/generated/index.ts:1220–1224  ·  view source on GitHub ↗
(node: t.Node | null | undefined, opts?: Opts | null)

Source from the content-addressed store, hash-verified

1218 opts?: Opts | null,
1219): node is t.ArrayTypeAnnotation & Opts;
1220export function isArrayTypeAnnotation<
1221 Opts extends Options<t.ArrayTypeAnnotation>,
1222>(node: t.Node | null | undefined, opts?: Opts | null): boolean {
1223 return isType<t.ArrayTypeAnnotation>("ArrayTypeAnnotation", node, opts);
1224}
1225export function isBooleanTypeAnnotation(
1226 node: t.Node | null | undefined,
1227): node is t.BooleanTypeAnnotation;

Callers 1

isGenericTypeFunction · 0.90

Calls 1

isTypeFunction · 0.50

Tested by

no test coverage detected