method Node.prototype.getPreviousSiblingimport { Node } from "https://deno.land/x/ts_morph@15.1.0/mod.ts"; getPreviousSibling<T extends Node>(condition?: (node: Node) => node is T): T | undefinedGets the previous sibling. getPreviousSibling(condition?: (node: Node) => boolean): Node | undefinedGets the previous sibling. Gets the previous sibling. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Optional condition for getting the previous sibling. ReturnsT | undefinedGets the previous sibling. Parametersoptionalcondition: (node: Node) => boolean Optional condition for getting the previous sibling. ReturnsNode | undefined