def in_err

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

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

315def in_err(b: Bool, w: Why) -> Maybe<&2, Err>:
316  match b:
317    case True{}:
318      None{}
319    case False{}:
320      Some{Err{Nil{}, w}}

Uses (5)

Used by (5)