Extremely Popular
Go to Latest
method Node.prototype.getDescendantStatements
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts";

Gets the node's descendant statements and any arrow function statement-like expressions (ex. returns the expression 5 in () => 5).

Returns

(Statement | Expression)[]