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

Function ARRAYFIND

These functions searches the array for the specified object.

Example

arrayfind(array array,any value_or_closure):number

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.