import * as O from "../../Option"
import { mapError_ } from "./mapError"
import { rightOrFail_ } from "./rightOrFail"
/**
 * Fails with the error `None` if value is `Left`.
 */

export function right(self) {
  return rightOrFail_(mapError_(self, O.some), O.none)
}
//# sourceMappingURL=right.js.map
