def at.pick

cswap-bend-cli@0.1.0.0 · clock.bend:95

import cswap-bend-cli@0.1.0.0/clock.bend as Clock
import Base

95def at.pick(m: Maybe<&2, Char>, a: Char, b: Char) -> Bool:
96  match m:
97    case None{}:
98      False{}
99    case Some{+c}:
100      Char.is_eq(c, a) || Char.is_eq(c, b)

Uses (5)

Used by (1)