abstract fun equals(other: Any?): Boolean(source)
- other has the same (fully qualified) Kotlin class name as this instance.
- other's backing Class object is loaded with the same class loader as the Class object of this instance.
- If the classes represent Array, then Class objects of their element types are equal.
For example, on JVM, KClass instances for a primitive type (
int) and the corresponding wrapper type (
are considered equal, because they have the same fully qualified name "kotlin.Int".