Lucee object methods reference

Object Method Array.find

These functions searches the array for the specified object.
Array.find(any value_or_closure):number

Category

array,find,iterator

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
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.