stdlib
1.5
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
stdlib
/
kotlin.text
/
orEmpty
or
Empty
inline
fun
String
?
.
orEmpty
(
)
:
String
(
source
)
Returns the string if it is not
null
, or the empty string otherwise.
Since Kotlin
1.2