Explorer

definy.json-string-array

description
The strings from index as JSON strings
type
Fn(items: List<String>, index: Number) -> List<@definy.json>
expression
fn(items$0, index$1) =>
  match @core.list-get(list: $0, index: $1) {
    #none(_) =>
      [],
    #some(item$1002) =>
      @core.list-concat(
        left: [#string<@definy.json>($1002)],
        right: @definy.json-string-array(items: $0, index: @core.plus(left: $1, right: 1))
      )
  }
visibility
public
definy.json-string-array (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: k1rccG6QOErTZ8tFing_7X8ZDKeK3teoSolDJIv682I
content hash: jDo2KXCVYXJ3ycHxY7rgGF2uApPsjRzBZhMox_R33qo