enumValues
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.
Since Kotlin
1.1See also
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.
Since Kotlin
1.1See also
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.
Since Kotlin
1.1See also
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.
Since Kotlin
1.3See also
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.
Since Kotlin
1.8See also
Returns an array containing enum entries of the enum type T.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using kotlin.enums.enumEntries as a more efficient alternative returning an immutable list of enum entries.