right<L, R> static method

Either<L, R> right<L, R>(
  1. R value
)

Creates a Right value (typically representing success)

Implementation

static Either<L, R> right<L, R>(R value) => Right(value);