def ident_by_email2

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

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

161def ident_by_email2(+empty: Bool, +email: String, +seen: String) -> Verdict:
162  match empty:
163    case True{}:
164      VUnverified{"the resolved identity carries no address"}
165    case False{}:
166      sel.v(String.eq(String.to_lower(seen), String.to_lower(email)), VOk{}, VBad{bad_email(email, seen)})

Uses (7)

Used by (1)