Learning Kotlin Programming

Simple Kotlin Null Check for Multiple Mutable Variables

Don’t need to use nested let-let

Kotlin when introduced has great null safety features. Most people know that one can use let to perform a null-safety check for a mutable nullable variable e.g.

--

--

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store