Profile.drop.empty: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/profile.bend as Profile Lines 291-296 of cswap-bend-cli@0.1.0.0/profile.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/profile.bend&start_line=291&end_line=296 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def drop.empty(+ps: Json.Json, +raw: Json.Json) -> Json.Json: match ps: case Json.JObj{Json.JNil{}}: Json.del("profiles", raw) case o: Json.set("profiles", ps, raw) Uses (3): 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=del https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=set