Completed Coursera: Kotlin for developers course

This commit is contained in:
Martin Berg Alstad
2025-07-30 14:34:03 +02:00
committed by Martin Berg Alstad
commit 64d9e4ada7
41 changed files with 608 additions and 0 deletions

6
src/Run.kt Normal file
View File

@ -0,0 +1,6 @@
fun main() {
// Similar to with but can be used with nullable values
val uppercase = nullableString()?.run { uppercase() }
}
fun nullableString(): String? = "Hello"