Is there a way to do that easily?
# getting-started
k
Is there a way to do that easily?
🚫 1
m
You need something called "dependent types" to do this, and Kotlin doesn't have that. Very few languages have this. The only one I know of is Idris.