import { Node } from "https://deno.land/x/ts_morph@15.1.0/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