Filter
Last updated
Last updated
[data/array/Filter]
Filters array. External node(s) receive each item and decide whether to include them in the result. Example: https://github.com/Cranq-io/cranq-tutorials/blob/main/reference/3_querying_data/3_2_filters/README.md#using-filters
Keywords: select
array: any[]
Receives array to be filtered. Example: [1,2,3,4]
include item: boolean
Receives whether to include the current (by tag) item. Example: true
filtered: any[]
Sends the filtered array. Example: [1,2]
item: any[][number]
Sends the current item. Example: 1