import * as A from "flurp/array";import * as N from "flurp/number";const countPositive = A.count(isPositive);countPositive([4, 5, -2, 6, -1]); // 3
Example