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