GeneralIterableExtensions<T> extension

on

Methods

leastOccurrences() → (T, int)?

Available on Iterable<T>, provided by the GeneralIterableExtensions extension

Find the most common value in the list.
mostOccurrences() → (T, int)?

Available on Iterable<T>, provided by the GeneralIterableExtensions extension

Finds the most common value in the list.