method Node.prototype.getParentIfKindimport { Node } from "https://deno.land/x/fresh@1.2.0/src/dev/deps.ts"; getParentIfKind<TKind extends SyntaxKind>(kind: TKind): KindToNodeMappings[TKind] | undefinedGets the parent if it's a certain syntax kind. Gets the parent if it's a certain syntax kind. Type ParametersTKind extends SyntaxKindParameterskind: TKindReturnsKindToNodeMappings[TKind] | undefined