Pike v8.0 release 1738

Method Iterator()->index()


Method index

mixed index()

Description

Returns the current index, or UNDEFINED if the iterator doesn't point to any item.

If there's no obvious index set then the index is the current position in the data set, counting from 0 (zero).