def items.list

cswap-bend-cli@0.1.0.0 · json.bend:347

import cswap-bend-cli@0.1.0.0/json.bend as Json
import Base

347# The elements of an array; empty for any other value.
348def items.list(items: Json) -> List<&2, Json>:
349  match items:
350    case JCons{h, t}:
351      h <> items.list(t)
352    case _:
353      []

Uses (2)

Used by (1)