A multiplatform Either Datatype
val thing1: Either<Int, String> = Either.Left(1)
val thing2: Either<Int, String> = Either.Right("jaribio")
val thing3 = 3.asEither<Int, String>()
dependencies {
implementation("tz.co.asoft:either:0.0.1")
}
An Either<L,R> multiplatform serializable datatype
A multiplatform Either Datatype
val thing1: Either<Int, String> = Either.Left(1)
val thing2: Either<Int, String> = Either.Right("jaribio")
val thing3 = 3.asEither<Int, String>()
dependencies {
implementation("tz.co.asoft:either:0.0.1")
}
An Either<L,R> multiplatform serializable datatype
MIT License