def true_unit
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
1587def true_unit(b: Bool) -> Maybe<&2, Unit>:
1588 match b:
1589 case True{}:
1590 Some{Unit{}}
1591 case False{}:
1592 None{}
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
1587def true_unit(b: Bool) -> Maybe<&2, Unit>:
1588 match b:
1589 case True{}:
1590 Some{Unit{}}
1591 case False{}:
1592 None{}