src/Utils/Utils.php
public static function every($traversable, callable $predicate)
    {
        foreach ($traversable as $key => $value) {
            if (! $predicate($value, $key)) {
                return false;
            }
        }

        return true;
    }
public static function every($traversable, callable $predicate)
    {
        foreach ($traversable as $key => $value) {
            if (! $predicate($value, $key)) {
                return false;
            }
        }

        return true;
    }
@param mixed[] $traversable

@return bool