Swbase.with_rejected: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swbase.bend as Swbase Lines 59-64 of cswap-bend-cli@0.1.0.0/swbase.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swbase.bend&start_line=59&end_line=64 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def with_rejected(+has: Bool, +r: Json.Json) -> Json.Json: match has: case True{}: r case False{}: Json.set("rejected", Json.JArr{Json.JNil{}}, r) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=set