extend<Z> abstract method
- Z f(
- Either<
L, R> t
- Either<
override
Change the value of Either from type R
to type Z
based on the
value of Either<L, R>
using function f
.
Implementation
@override
Either<L, Z> extend<Z>(Z Function(Either<L, R> t) f);