Skip to main content

map

Function map 

Source
pub fn map<T, U>(arr: &[T], f: impl Fn(&T) -> U) -> Vec<U>