Skip to content

exprDepth

exprDepth(expr): number

Returns the maximum nesting depth of an Expr tree. A leaf node has depth 1.

Expr

number