def row_of
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustoreimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
129# The stored row of a slot, only when it belongs to this identity.
130def row_of(+rows: Json.Json, +id: Id) -> Maybe<&2, Json.Json>:
131 match id:
132 case Id{slot, email, org}:
133 row.pick(Json.get(slot, rows), id)