Looks for the first index in an array whose given property matches the criteria.This function is valid in v2.8.0 to v2.14.0. This function has been downloaded 45 times.
arrayitem to inspect. If no such property exists for any
arrayitem that item will simply be skipped.
array. If this is a function it will be passed the value of the property and the return value will be coerced to a boolean to see if the property fits the criteria. If this is a regular expression it will be tested against the property to see if the property fits the criteria. Any other type of value will be checked to see if the property is this value to see if it fits the criteria.
testermatches the specified property. If
testernever matches any of the properties
-1will be returned.
This function requires the following function which is included automatically: