Ustore.matches: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore Lines 104-108 of cswap-bend-cli@0.1.0.0/ustore.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&start_line=104&end_line=108 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def matches(+row: Json.Json, +id: Id) -> Bool: match id: case Id{slot, email, org}: String.eq(Maybe.default(&2, String, Json.as_string(jv("email", row)), "\u{1}"), email) && String.eq(Maybe.default(&2, String, Json.as_string(Maybe.default(&2, Json.Json, Json.get("organizationUuid", row), Json.JStr{""})), "\u{1}"), org) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=as_string https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=get https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=Id https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=jv