majority

Function 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.