Kotlin 1.5.0 Help

Keywords and operators

Hard keywords

The following tokens are always interpreted as keywords and cannot be used as identifiers:

Soft keywords

The following tokens act as keywords in the context when they are applicable and can be used as identifiers in other contexts:

Modifier keywords

The following tokens act as keywords in modifier lists of declarations and can be used as identifiers in other contexts:

Special identifiers

The following identifiers are defined by the compiler in specific contexts and can be used as regular identifiers in other contexts:

Operators and special symbols

Kotlin supports the following operators and special symbols:

Last modified: 29 April 2021