is Not Empty
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 isRight()
Replace with
isRight()Content copied to clipboard
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