def b2u

gralha-byte-words@0.1.0.0 · words.bend:10

import gralha-byte-words@0.1.0.0/words.bend as Words
import Base

10def b2u(b: Bool) -> U32:
11  match b:
12    case False{}:
13      0
14    case True{}:
15      1

Uses (2)

Used by (1)