isSame

context(env: JniEnv)
infix fun JObject?.isSame(other: JObject?): Boolean(source)

Tests whether two references point to the same Java object.

Return

true if the receiver and other refer to the same Java object, or both are null, false otherwise.