← Docs
kotlin-stdlib / kotlin.js / iterator

iterator

JS
1.1
operator fun dynamic . iterator ( ) : Iterator < dynamic >
(source)

Allows to iterate this dynamic object in the following cases:

  • when it has an iterator function,
  • when it is an array
  • when it is an instance of kotlin.collections.Iterable
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .