definy.found-content-items-json
- description
- The contents from index that are found, as the JSON of the API (ContentItem)
- type
Fn(items: List<Union{#none, #some(@definy.content-item)}>, index: Number) -> List<@definy.json>- expression
fn(items$0, index$1) => match @core.list-get(list: $0, index: $1) { #none(_) => [], #some(item$1003) => @core.list-concat( left: match $1003 { #none(_) => [], #some(item$2) => [@definy.content-item-json(item: $2)] }, right: @definy.found-content-items-json(items: $0, index: @core.plus(left: $1, right: 1)) ) }
- visibility
- public
definy.found-content-items-json (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: wUq09bwL9LoVPIrL64Mqumakug_JOoyoltSBb12zsWY content hash: qIGFbF1bpB0tGIIVhSrBOKmIY2KkPE-6CxZYC1BNicw