src/HAB/Pica/Record/Helper.php
public static function every (array $sequence, $predicate)
    {
        foreach ($sequence as $element) {
            if (!call_user_func($predicate, $element)) {
                return false;
            }
        }
        return true;
    }
public static function every (array $sequence, $predicate)
    {
        foreach ($sequence as $element) {
            if (!call_user_func($predicate, $element)) {
                return false;
            }
        }
        return true;
    }
public static function every ( array $ sequence , $ predicate ) { foreach ( $ sequence as $ element ) { if ( ! call_user_func ( $ predicate , $ element ) ) { return false ; } } return true ; }
Return TRUE if every element of sequence fullfills predicate.

@todo   Make FALSE and TRUE self-evaluating, maybe

@param  array $sequence Sequence
@param  callback $predicate Predicate
@return boolean TRUE if every element fullfills predicate
Return TRUE if every element of sequence fullfills predicate .