is Not Empty
Returns true
if Right
Example:
import arrow.core.*
fun main(args: Array<String>) {
//sampleStart
Either.Left("foo").isNotEmpty() // Result: false
Either.Right("foo").isNotEmpty() // Result: true
//sampleEnd
}
Content copied to clipboard