Tries a function and converts the caught error to Left or returned value to Right.
Either<Error, R>
() => R - function to try catch
Generated using TypeDoc
Tries a function and converts the caught error to Left or returned value to Right.
Returns
Either<Error, R>