View.status_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/view.bend as View Lines 285-290 of cswap-bend-cli@0.1.0.0/view.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/view.bend&start_line=285&end_line=290 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/clock.bend as Clock def status_of(sentinel: Maybe<&2, String>, +usage: Json.Json) -> String: match sentinel: case Some{s}: s case None{}: Clock.sel.s(is_obj(usage), "ok", "unavailable") Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/clock.bend&name=sel.s 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/view.bend&name=is_obj