fuck-around-and-find-out
Instead of trying and catching, go ahead and fuck around if you wanna find out.
Instead of trying and catching, go ahead and fuck around if you wanna find out.
A functional try catch for javascript and typescript
A utility package for handling try-catch blocks in TypeScript.
A simple error base class for TypeScript
If a function does not throw, return the function return value; otherwise, return `y`.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.