Function smartnoise_validator::utilities::get_common_value[][src]

pub fn get_common_value<T: Clone + Eq>(values: &Vec<T>) -> Option<T>

given a vector of items, return the shared item, or None, if no item is shared