← Docs
kotlin-stdlib / kotlin / enumValues

enumValues

Common
JVM
JS
Native
1.1
fun < reified T : Enum < T > > enumValues ( ) : Array < T >
(Common source) (Native source)

Returns an array containing enum T entries.

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 .