Skip to content

Depth

Returns the maximum depth (+1) of the expression tree.

$ wo 'Depth[{{1, 2}, {3, 4}}]'
3