def ident_verdict2

cswap-bend-cli@0.1.0.0 · store/plan.bend:171

import cswap-bend-cli@0.1.0.0/store/plan.bend as Plan
import Base
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq

171def ident_verdict2(+no_uuid: Bool, +email: String, +acct_uuid: String, +uuid: String, +pemail: Maybe<&2, String>) -> Verdict:
172  match no_uuid:
173    case True{}:
174      ident_by_email(email, String.trim(SSeq.str_or(pemail, "")))
175    case False{}:
176      sel.v(String.eq(uuid, acct_uuid), VOk{}, VBad{bad_uuid(email, uuid, acct_uuid)})

Uses (10)

Used by (1)