Events.windows_pick: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/events.bend as Events Lines 85-90 of cswap-bend-cli@0.1.0.0/daemon/events.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&start_line=85&end_line=90 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def windows_pick(+empty: Bool, +s: String, +w: List<&2, Win>, +rest: Json.Json) -> Json.Json: match empty: case True{}: rest case False{}: pair(s, Json.JObj{windows_chain(w)}, rest) Uses (7): 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=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&name=Win https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&name=pair https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&name=windows_chain https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json