`MyEnum.values().firstOrNull { it.rawValue == 20 }...
# getting-started
o
MyEnum.values().firstOrNull { it.rawValue == 20 }
is shorter and much more effective