6 lines
114 B
Kotlin
Vendored
6 lines
114 B
Kotlin
Vendored
enum class MyEnum {
|
|
FIRST,
|
|
SECOND
|
|
}
|
|
|
|
fun foo(me: MyEnum): Boolean = me is <!IS_ENUM_ENTRY!>MyEnum.FIRST<!> |