Filter an array based on boolean conditions
true
.
This block is particularly useful for filtering arrays based on specific conditions, especially when combined with other blocks like Compare in a batched operation.
true
. The output maintains the data type of the input array.[1, 2, 3, 4, 5]
.>
, and enable batching.3
.A
input, and Number Block to B
input.array
input and Compare Block’s Result
to include
input.filtered
output should be [4, 5]
.array
or include
inputs are not providedWhat happens if the lengths of the array and include inputs do not match?
Can I use the Filter Block to filter an array of objects?