kotlin-stdlib / kotlin.collections / MutableIterator / remove remove Common JVM JS Native 1.0 abstract fun remove()(Common source) (Native source) Removes from the underlying collection the last element returned by this iterator. Exceptions IllegalStateException - if next has not been called yet, or the most recent next call has already been followed by a remove call.