isType

inline fun <E : Enum<E>> isType(): Boolean

Checks if this value is of the specified enum type.


fun <E : Enum<E>> isType(kClass: KClass<E>): Boolean

Checks if this value is of the specified enum type using KClass.