deno.com
method Deno.lint.SourceCode.getAncestors
#SourceCode.getAncestors(node: Node): Node[]

Returns array of ancestors of the current node, excluding the current node.

Parameters #

#node: Node

Return Type #