miniapl

— Depth / Match

≡Y gives nesting depth. Uneven nesting gives negative depth.

≡1 2 3             ⍝ 1

X≡Y tests equal shape and corresponding contents, using tolerant numeric equality. Returns one Boolean; = pervades.

1 2≡1 2            ⍝ 1x
1≡,1               ⍝ 0x