isNotNullOrEmpty
Deprecated
This function is deprecated and will be removed in next major release.Use isNotNullNotEmpty() instead.
Replace with
import com.parsuomash.affogato.core.ktx.text.isNotNullNotEmpty
Content copied to clipboard
isNotNullNotEmpty()
Content copied to clipboard
Return true if string not null and not empty.
Example:
val text: String? = null
text.isNotNullOrEmpty() // false
val text2 = "null"
text2.isNotNullOrEmpty() // false
val text3 = "hi"
text3.isNotNullOrEmpty() // true
val text4 = ""
text4.isNotNullOrEmpty() // false
Content copied to clipboard
Since
1.1.0
See also
isNotBlank