Skip to content

Glossary: Kotlin Basics

comparison operators

Also written: ==, !=, <, >, <=, >=

Operators that compare two values and give a Boolean: `==` (equal; a single `=` assigns), `!=`, `<`, `>`, `<=` and `>=`.

Where the book teaches it

Related terms

Booleanlogical operatorsassignment