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.
A smart cast is when the Kotlin compiler automatically casts a value to a more specific type after you've checked it.