def arr.depth.if

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

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

199def arr.depth.if(+empty: Bool, +d: U32) -> U32:
200  match empty:
201    case True{}:
202      S.none()
203    case False{}:
204      d

Uses (3)

Used by (1)