def Spans.height

bend-lint-rules@0.2.0.0 · lib/text/main.bend:52

import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules
import Base

52def Spans.height(t: Spans) -> U32:
53  match t:
54    case SLeaf{}:
55      0
56    case SNode{h, l, b, e, r}:
57      h

Uses (2)

Used by (4)