kotlin-stdlib / kotlin / enumValues enumValues Common JVM JS Native 1.1 fun <reified T : Enum<T>> enumValues(): Array<T>(Common source) (JS source) (Native source) Returns an array containing enum T entries.