Function stdcli::prelude::itertools::min
[−]
[src]
pub fn min<I>(iterable: I) -> Option<<I as IntoIterator>::Item> where
I: IntoIterator,
<I as IntoIterator>::Item: Ord,
Return the minimum value of the iterable.
IntoIterator
enabled version of i.min()
.
use itertools::min; assert_eq!(min(0..10), Some(0));