Operation a == b
is translated to a?.equals(b) ?: (b === null)
Exceptions are:
-
Float
andDouble
types follow IEEE 754 semantic: floating-point-numbers-equality - Expressions using values of
dynamic
type are translated to JavaScript “as is”, and do not use the Kotlin operator conventions.