Module

x/fresh/src/dev/deps.ts>Node#getDescendantsOfKind

The next-gen web framework.
Extremely Popular
Go to Latest
method Node.prototype.getDescendantsOfKind
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts";

Gets the descendants that match a specified syntax kind.

Type Parameters

TKind extends SyntaxKind

Parameters

kind: TKind
  • Kind to check.

Returns

KindToNodeMappings[TKind][]