Helper functions for Monoids.
Readonly
Whether any value holds.
Combines all values, empty if there are none.
empty
Combines what f makes of each item, empty if there are none.
f
The union of sets, which shares a set wherever it holds the other, see unionOfSets.
values
Monoid.foldMap(Monoid.any, [1, 2], n => n > 1); // true Copy
Monoid.foldMap(Monoid.any, [1, 2], n => n > 1); // true
Helper functions for Monoids.