isNotEmpty

Deprecated

This API is considered redundant. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Use `is Either.Right<*>`, `when`, or `fold` instead

Replace with

(this is Either.Right<*>)

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
}