mg6maciej
val someValue: String? = "canBeNullOrNot" if (someValue != null) { doSomethingWithTheString(someValue) } else { logThisCase() }