Converts a scala.util.Either to a javascalautils.Either.
Converts a scala.util.Either to a javascalautils.Either.
val jEitherLeft = asJavaEither(Left("Left is not to the Right")) val jEitherRight = asJavaEither(Right("Left is not to the Right"))
The type to be converted
The converted type
1.0
Converts a scala.util.Left to a javascalautils.Left.
Converts a scala.util.Left to a javascalautils.Left.
val jLeft = asJavaLeft(Left("Left is not to the Right"))
The type to be converted
The converted type
1.0
Converts a scala.util.Right to a javascalautils.Right.
Converts a scala.util.Right to a javascalautils.Right.
val jright = asJavaRight(Right("Left is not to the Right"))
The type to be converted
The converted type
1.0
Provides the code for converting scala.util.Either/Left/Right -> javascalautils.Either/Left/Right