def pick_bool
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
216def pick_bool(b: Bool, +x: Bool, +y: Bool) -> Bool:
217 match b:
218 case True{}:
219 x
220 case False{}:
221 y
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
216def pick_bool(b: Bool, +x: Bool, +y: Bool) -> Bool:
217 match b:
218 case True{}:
219 x
220 case False{}:
221 y