fromValue

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

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


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

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