Returns an array of all indices of an array that pass condition.
condition
import * as A from "flurp/array";import * as N from "flurp/number";const indicesOfPositive = A.findAllIndices(N.isPositive);indicesOfPositive([3, -4, -1, 5, -4, 2]); // [0, 3, 5]indicesOfPositive([-3, -4, -1, -5, -4, -2]); // []
Returns an array of all indices of an array that pass
condition
.Example