javakotlinjvm

Kotlin operators in, it, is,


I'm a rookie with Kotlin and I can't differ between these three operators, do they have any relation between them? How's their comparison with Java?


Solution

  • No, there's no direct connection between them, other than being 2-letter keywords in Kotlin.

    They're used for different things:

    As @Adrian says, all the keywords are explained in the Kotlin reference documentation.