Companion

Functions

Link copied to clipboard
inline fun <T : Enum<T>, IntEnum> fromValue(value: Int?): T?

Get an instance of this that matches the value of the entry.

inline fun <T : Enum<T>, IntEnum> fromValue(value: String?): T?

Get an instance of this that matches either the name or value of the entry.