Answers for "kotlin instanceof"

2

kotlin cast types

val myInt: Int = 1.0 as Int
Posted by: Guest on November-06-2020
0

kotlin instanceof

if (myInstance is String) {
	// DO SOMETHING
}
Posted by: Guest on June-03-2021

Browse Popular Code Answers by Language