is 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 isLeft()
Replace with
isLeft()Content copied to clipboard
Returns true if Left
Example:
import arrow.core.*
fun main(args: Array<String>) {
//sampleStart
Either.Left("foo").isEmpty() // Result: true
Either.Right("foo").isEmpty() // Result: false
}Content copied to clipboard