method Node.prototype.getPreviousSiblingOrThrowimport { Node } from "https://deno.land/x/ts_morph@22.0.0/mod.ts"; getPreviousSiblingOrThrow<T extends Node>(condition?: (node: Node) => node is T, message?: string | (() => string)): TGets the previous sibling or throws. getPreviousSiblingOrThrow(condition?: (node: Node) => boolean, message?: string | (() => string)): NodeGets the previous sibling or throws. Gets the previous sibling or throws. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Optional condition for getting the previous sibling. optionalmessage: string | (() => string)ReturnsTGets the previous sibling or throws. Parametersoptionalcondition: (node: Node) => boolean Optional condition for getting the previous sibling. optionalmessage: string | (() => string)ReturnsNode