enumEntries

inline fun <T : Enum<T>> enumEntries(): EnumEntries<T>(source)

Returns EnumEntries list containing all enum entries for the given enum type T.

Since Kotlin

2.0