mode

val mode: Set<T>(source)

The set of values with the highest observed frequency (the statistical mode).

Returns an empty set if no observations have been added. Returns multiple values in case of a tie.