arrayFindAll

Searches an array for all positions of a specified object. The function searches for simple objects such as strings and numbers or for complex objects such as structures. When the second parameter is a simple object, string searches are case-sensitive

arrayFindAll(array, object or closure) → returns array

Member Function Syntax

someArray.findAll(object or closure)

arrayFindAll Argument Reference

array
Required

The source array to search through

object or closure
Required

If string, case sensitive value to search for; if closure, use signature function (item, index, array) : boolean

Fork me on GitHub