def word.kind.num

emerging-ezjson@1.3.0.0 · src/pull.bend:549

import emerging-ezjson@1.3.0.0/src/pull.bend as Pull
import Base

549# a number, when the word is not null, true, or false
550def word.kind.num(ok: Bool) -> Atom:
551  match ok:
552    case True{}:
553      ANum{}
554    case False{}:
555      ABad{}

Uses (2)

Used by (1)