Conclusion
In this lesson, you looked at the different operators available in the Kotlin programming language. You learned:
- How to use arithmetic operators to perform mathematical operations.
- About the different types of compound assignment operators.
- About unary increment and decrement operators.
- About relational operators that let you compare values.
- How to use logical operators to chain several relational operators and perform complex checks.
- About the special safe access and Elvis operators available in Kotlin for working with nullable types.