Module dryip::arrays

source · []
Expand description

Array snippets.

Functions

Check if all value in given list are equal.
Check if all value in given list are unique.
Returns a list of numbers in the arithmetic progression starting with the given positive integer and up to the specified limit.
Splits values into two groups.
Splits values into two groups according to a passed function.
Chunks a list into smaller lists of a specified size.
Removes falsey values from a list.
Groups the elements of a list based on the given function.
Counts occurrences
Deep flattens a list.
Difference
Every
Every Nth