Shape.status_rows: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/shape.bend as Shape Lines 228-234 of cswap-bend-cli@0.1.0.0/fmt/shape.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/shape.bend&start_line=228&end_line=234 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # The active account of a status document as a list of at most one row. def status_rows(a: Json.Json) -> List<&2, Json.Json>: match a: case Json.JObj{f}: [Json.set("active", Json.JBool{True{}}, Json.JObj{f})] case _: [] Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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