|
|
fun <T> Either<T, Any?>.shouldBeLeft(): Unit
infix fun <A> Either<A, *>.shouldBeLeft(fn: (A) -> Unit): Unit
infix fun <A> Either<A, Any?>.shouldBeLeft(a: A): Unit |
|
|
fun <A> Either<Any?, Any?>.shouldBeLeftOfType(): Unit |
|
|
fun <T> Either<*, T>.shouldBeRight(): Unit
infix fun <B> Either<*, B>.shouldBeRight(fn: (B) -> Unit): Unit
infix fun <B> Either<Any?, B>.shouldBeRight(b: B): Unit |
|
|
fun <T> Either<T, Any?>.shouldNotBeLeft(): Unit
infix fun <A> Either<A, Any?>.shouldNotBeLeft(a: A): Unit |
|
|
fun <A> Either<Any?, Any?>.shouldNotBeLeftOfType(): Unit |
|
|
fun <T> Either<Any?, T>.shouldNotBeRight(): Unit
infix fun <B> Either<Any?, B>.shouldNotBeRight(b: B): Unit |