def pick_bool

bend-schema-lib@0.4.1.0 · core.bend:216

import bend-schema-lib@0.4.1.0/core.bend as Core
import Base

216def pick_bool(b: Bool, +x: Bool, +y: Bool) -> Bool:
217  match b:
218    case True{}:
219      x
220    case False{}:
221      y

Uses (1)

Used by (2)