src/Psi.php
public function any($condition)
    {
        $this->filter($condition);

        $tmp = new \stdClass();

        return $this->getFirst($tmp) !== $tmp;
    }
public function any($condition)
    {
        $this->filter($condition);

        $tmp = new \stdClass();

        return $this->getFirst($tmp) !== $tmp;
    }
public function any ( $ condition ) { $ this -> filter ( $ condition ) ; $ tmp = new \ stdClass ( ) ; return $ this -> getFirst ( $ tmp ) !== $ tmp ; }
Returns true if at least one element matches the condition

@param callable|UnaryFunction|BinaryFunction $condition

@return bool
Returns true if at least one element matches the condition