The array to search.
Optionalproperty: stringThe property to test on each array element.
Optionalvalue: anyThe value to test the property against. Must pass a strict (===) comparison check.
OptionalstartIndex: numberAn optional start index to search from.
OptionalendIndex: numberAn optional end index to search to.
Returns all elements in the array.
You can optionally specify a matching criteria using the
propertyandvaluearguments.For example:
getAll('visible', true)would return only elements that have their visible property set.Optionally you can specify a start and end index. For example if the array had 100 elements, and you set
startIndexto 0 andendIndexto 50, it would return matches from only the first 50 elements.