pub fn all(mut self, find: Function) -> Result<bool, VmError> {
        while let Some(value) = self.next()? {
            let result = find.call::<_, bool>((value.clone(),))?;

            if !result {
                return Ok(false);
            }
        }

        Ok(true)
    }
/// Test if all entries in the iterator matches the given predicate.
Test if all entries in the iterator matches the given predicate.
Test if all entries in the iterator matches the given predicate .
pub fn all(mut self, find: Function) -> Result<bool, VmError> {
        while let Some(value) = self.next()? {
            let result = find.call::<_, bool>((value.clone(),))?;
            if !result {
                return Ok(false);
            }
        }
        Ok(true)
    }
pub fn all ( mut self , find : Function ) -> Result < bool , VmError > { while let Some ( value ) = self . next ( ) ? { let result = find . call :: < _ , bool > ( ( value . clone ( ) , ) ) ? ; if ! result { return Ok ( false ) ; } } Ok ( true ) }
Test if all entries in the iterator matches the given predicate.
Test if all entries in the iterator matches the given predicate .
mut self
find
Function
mut self
find
Function