ord

abstract fun ord(): Int

Returns the ordinal position of the element that was returned in the latest call of .next. Do not call this method if .next is not called yet or the last call returned a null value.