The type of elements in the input array.
The array to search
The element to find
An array of indices where the specified element can be found.
const inputArray = [1, 2, 3, 2, 4, 2, 5];
const elementToFind = 2;
arrIndicesOf(inputArray, elementToFind);
//=> [1, 3, 5]
Generated using TypeDoc
Returns all indexes at which an element is found.