import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Gets the previous sibiling if it matches the specified kind, or throws.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
- Kind to check.
x/ts_morph/mod.ts>Node#getPreviousSiblingIfKindOrThrow
import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Gets the previous sibiling if it matches the specified kind, or throws.