I got confused with the following Kotlin Statement

Viewed 176
val s = person.name ?: return

I know that the ? is used for null safety... but what does :return do.

2 Answers
Related