Smart Cast (Kotlin)
A smart cast is when the Kotlin compiler automatically casts a value to a more specific type after you've checked it, so you don't have to cast manually…
A smart cast is when the Kotlin compiler automatically casts a value to a more specific type after you've checked it, so you don't have to cast manually…