Pike v8.1 release 6

Method ADT.Sequence()->SequenceIterator()->has_next()


Method has_next

bool has_next(void|int steps)

Returns

Returns true if it is possible to move steps steps forwards, if steps weren't supplied it check if it is possible to move one step forward.