isEmpty

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.Left<*>`, `when`, or `fold` instead

Replace with

(this is Either.Left<*>)

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
}