equals

fun equals(text1: String?, text2: String?): Boolean(source)

Null-safe string equality.