import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Gets the node as the specified kind if it is equal to that kind, otherwise returns undefined.
Type Parameters
TKind extends SyntaxKind
Returns
KindToNodeMappings[TKind] | undefined