import { Node } from "https://dotland.deno.dev/x/ts_morph@15.1.0/mod.ts";
Creates a type guard for syntax kinds.
Type Parameters
TKind extends keyof KindToNodeMappings
Parameters
kind: TKind
Returns
(node: Node | undefined) => node is KindToNodeMappings[TKind]