Returns all indices of value in the array. If value never occurs, returns []
indexOfAll([1, 2, 3, 1, 2, 3], 1); // [0,3]
indexOfAll([1, 2, 3], 4); // []
Generated using TypeDoc
Returns all indices of value in the array. If value never occurs, returns []
Example
Example