def pick_m

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

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

1580def pick_m(-A: Data, b: Bool, x: A, y: A) -> A:
1581  match b:
1582    case True{}:
1583      x
1584    case False{}:
1585      y

Uses (1)

Used by (1)