pub fn any(mut self, find: Function) -> Result<bool, VmError> {
        while let Some(value) = self.next()? {
            if find.call::<_, bool>((value.clone(),))? {
                return Ok(true);
            }
        }

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