src/Psi.php
public function all($condition)
    {
        return ! $this->any(
            // TODO: create Not predicate class
            function ($elem, $idx) use ($condition) {
                return ! $condition($elem, $idx);
            }
        );
    }
public function all($condition)
    {
        return ! $this->any(
            // TODO: create Not predicate class
            function ($elem, $idx) use ($condition) {
                return ! $condition($elem, $idx);
            }
        );
    }
public function all ( $ condition ) { return ! $ this -> any ( // TODO: create Not predicate class function ( $ elem , $ idx ) use ( $ condition ) { return ! $ condition ( $ elem , $ idx ) ; } ) ; }
Returns true if all elements match the condition

@param callable|UnaryFunction|BinaryFunction $condition

@return bool
Returns true if all elements match the condition