kotlin instanceof

if (myInstance is String) {
	// DO SOMETHING
}
Juligum