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