elemIndices package:pipes

Outputs the indices of all elements that match the given element