Function owasm_kit::ext::stats::majority

source ·
pub fn majority<T>(data: Vec<T>) -> Option<T>where
    T: PartialEq,
Expand description

Returns the majority value of the given data set, or None if there is no majority.