View Source Enumx (Enumx v0.2.0)

Summary

Functions

Returns true if all elements in enumerable are equal.

Similar to filter/2, but returns the value of the function invocation instead of the element itself

Ensures that all elements in enumerable are equal, otherwise raises an error. If all elements are equal, it returns one of those elements.

Functions

Returns true if all elements in enumerable are equal.

Similar to filter/2, but returns the value of the function invocation instead of the element itself

Ensures that all elements in enumerable are equal, otherwise raises an error. If all elements are equal, it returns one of those elements.