public function all($where)
    {
        $where = LambdaUtils::toConditionCallable($where);
        foreach($this as $record)
        {
            if(!call_user_func($where, $record))
            {
                return false;
            }
        }
        return true;
    }
public function all($where)
    {
        $where = LambdaUtils::toConditionCallable($where);
        foreach($this as $record)
        {
            if(!call_user_func($where, $record))
            {
                return false;
            }
        }
        return true;
    }
public function all ( $ where ) { $ where = LambdaUtils :: toConditionCallable ( $ where ) ; foreach ( $ this as $ record ) { if ( ! call_user_func ( $ where , $ record ) ) { return false ; } } return true ; }
Check for all fields by condition
@param callable|array $where
@return bool
Check for all fields by condition