public function some(callable $predicate): bool
    {
        foreach ($this->intervals as $offset => $interval) {
            if (true === $predicate($interval, $offset)) {
                return true;
            }
        }

        return false;
    }
public function some(callable $predicate): bool
    {
        foreach ($this->intervals as $offset => $interval) {
            if (true === $predicate($interval, $offset)) {
                return true;
            }
        }

        return false;
    }
public function some ( callable $ predicate ) : bool { foreach ( $ this -> intervals as $ offset => $ interval ) { if ( true === $ predicate ( $ interval , $ offset ) ) { return true ; } } return false ; }
Tells whether some intervals in the current instance satisfies the predicate.
Tells whether some intervals in the current instance satisfies the predicate .