I use these: ``` public fun String?.nullIfBlank():...
# stdlib
a
I use these:
Copy code
public fun String?.nullIfBlank(): String? = if (this.isNullOrBlank()) null else this
public fun String?.nullIfEmpty(): String? = if (this.isNullOrEmpty()) null else this
combined with elvis operator