Swcreds.keep_field: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swcreds.bend as Swcreds Lines 28-33 of cswap-bend-cli@0.1.0.0/swcreds.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swcreds.bend&start_line=28&end_line=33 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def keep_field(+drop: Bool, +k: String, +v: Json.Json, +rest: Json.Json) -> Json.Json: match drop: case True{}: rest case False{}: Json.JField{k, v, rest} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json