Kotlin
val url = lastRadioUrl ?: run {
doSomething()
return
}
// use url which is not nullSwift
guard let url = lastRadioUrl else {
doSomething()
return
}
// use url which is not nilKotlin
val url = lastRadioUrl ?: run {
doSomething()
return
}
// use url which is not nullSwift
guard let url = lastRadioUrl else {
doSomething()
return
}
// use url which is not nil