Interface EitherOf<L,R>

All Superinterfaces:
Kind<Either<L,?>,R>
All Known Subinterfaces:
Either<L,R>
All Known Implementing Classes:
Either.Left, Either.Right

@Generated("com.github.tonivade.purefun.processor.HigherKindProcessor") public sealed interface EitherOf<L,R> extends Kind<Either<L,?>,R> permits Either<L,R>
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <L, R> Either<L,R>
    toEither(Kind<Either<L,?>,? extends R> value)
     

    Methods inherited from interface com.github.tonivade.purefun.Kind

    fix, kind
  • Method Details

    • toEither

      static <L, R> Either<L,R> toEither(Kind<Either<L,?>,? extends R> value)