Elvis has entered the building once more! In this episode of Kotlin Tips Seb (https://twitter.com/sebi_io) explains why the operator is named after the famous singer, and how you can use `?:` in Kotlin to return or throw.
The magic behind the scenes? The Nothing type (https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing.html).
#KotlinTips #Elvis #Kotlin
Download
0 formats
No download links available.
Return and Throw with the Elvis Operator | Kotlin Tips | NatokHD