What is the purpose of the is keyword in Kotlin?
To check the type of an object
To define an interface
To declare a variable
To create a loop
Answer and explanation
The is keyword in Kotlin is used to check the type of an object, similar to the instanceof operator in Java.
