hasNext

abstract suspend operator fun hasNext(): Boolean

This function retrieves and removes an element for the subsequent invocation of next.

Return

true if the iteration has more elements.

Throws

TwilioException

When error occurred while retrieving next element.