What’s Kotlin’s equivalent to this Swift code with...
# getting-started
n
What’s Kotlin’s equivalent to this Swift code with
enum
Copy code
enum People: Int {
	case man = 1
	case baby = 2
	case woman = 3
}

if let people = People(rawValue: 3) {
	print("converted successfully =>", people) // output: converted successfully => woman
} else {
	print("nil value -> No match")
}