highdash 0.0.1

A lodash alternative for Rust. Great package for people coming from Javascript
Documentation
1
2
3
4
5
6
7
8
pub fn every<T>(iterable: &[T], predicate: fn(&T, usize) -> bool) -> bool {
    for (index, item) in iterable.iter().enumerate() {
        if !predicate(&item, index) {
            return false;
        }
    }
    return true;
}