def cells

bolt@1.27.0.0 · src/lsp/enc.bend:37

import bolt@1.27.0.0/src/lsp/enc.bend as Enc
import Base
import emerging-ezjson@1.2.0.0/src/value.bend as J

37# the cells of an array, JNil when it is not one
38def cells(jj: J.Json) -> J.Json:
39  match jj:
40    case J.JArr{items}:
41      items
42    case _other:
43      J.JNil{}

Uses (1)

Used by (1)