def arr.depth

bend-toon-codec@0.1.0.0 · src/frame.bend:206

import bend-toon-codec@0.1.0.0/src/frame.bend as Frame
import Base
import bend-toon-codec@0.1.0.0/src/split.bend as S

206def arr.depth(+f: Fr) -> U32:
207  match f:
208    case FLst{d, a, n, c, xs}:
209      arr.depth.if(U32.is_zero(c), d)
210    case FTab{d, a, n, c, dl, ks, xs}:
211      arr.depth.if(U32.is_zero(c), d)
212    case _:
213      S.none()

Uses (5)

Used by (1)