def items.list
import cswap-bend-cli@0.1.0.0/json.bend as Jsonimport 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 []