How YOU CAN DO MORE with the Elvis operator | Tips from the Kotlin team

Published: 31 March 2022
on channel: Kotlin by JetBrains
15,090
812

The Elvis operator is a great tool for handling nullability. It can be used to provide a default non-null value instead of a given expression when this expression is null. In this episode of Kotlin Tips, Sebastian will show how to add some more logic, for example, logging, to the right part of the Elvis operator.

More Kotlin Tips episodes:    • Kotlin Tips 2023  

#KotlinTips #Kotlin #Elvis #ElvisOperator


Watch video How YOU CAN DO MORE with the Elvis operator | Tips from the Kotlin team online without registration, duration hours minute second in high quality. This video was added by user Kotlin by JetBrains 31 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 15,090 once and liked it 812 people.