Skip to main content
Module

x/deno2node/src/deps.deno.ts>Node#forEachDescendantAsArray

Compile your Deno project to run on Node.js.
Latest
method Node.prototype.forEachDescendantAsArray
import { Node } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Gets the descendant nodes passed to the delegate of node.forEachDescendant(descendant => {}) as an array.

Returns

Node<ts.Node>[]