Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ARRAYFINDALL

These functions searches the array for the specified object and return the positions of all occurrence of this values.

Example

arrayfindall(array array,any value_or_closure):array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array array  Yes The array to search in  
value_or_closure any  Yes The value to find or a closure/function that gets every value of the array as input and returns true if the given value is right.