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

Function isTSModuleDeclaration

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

Source from the content-addressed store, hash-verified

3283 opts?: Opts | null,
3284): node is t.TSModuleDeclaration & Opts;
3285export function isTSModuleDeclaration<
3286 Opts extends Options<t.TSModuleDeclaration>,
3287>(node: t.Node | null | undefined, opts?: Opts | null): boolean {
3288 return isType<t.TSModuleDeclaration>("TSModuleDeclaration", node, opts);
3289}
3290export function isTSModuleBlock(
3291 node: t.Node | null | undefined,
3292): node is t.TSModuleBlock;

Callers

nothing calls this directly

Calls 1

isTypeFunction · 0.50

Tested by

no test coverage detected