<Get rid of the kotlin nullable> I want to write a...
# stackoverflow
u
Get rid of the kotlin nullable I want to write an extension, that when invoked it will imply that the return value is not nullable. for example I have a nullable string data class Stam(val value: String? = null) val result = Stam("result") val isNull = result.value?.isNotBlank() i want "isNull" to not be nullable, but to return a definitive true or false. How do i define an extension to do this for me?