def visible_or

near-v-framework@0.4.0.0 · general/compound/ops.bend:52

import near-v-framework@0.4.0.0/general/compound/ops.bend as Ops
import Base

52def visible_or(hit: Bool, +k: String, rest: String) -> String:
53  match hit:
54    case True{}:
55      k
56    case False{}:
57      rest

Uses (2)

Used by (1)