/** * Maps the error value of this effect to a left value. * * @tsplus getter effect/core/io/Effect asLeftError */ export function asLeftError(self: Effect): Effect, A> { return self.mapError(Either.left) }