array.find()

These functions searches the array for the specified object.

array.find( array, value_or_closure )

Returns: Number

Argument Description
array
array, required

The array to search in

value_or_closure
any, required

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.

Alias: object, value, closure, function, udf

Examples

There are currently no examples for this function

See also