Create Your Chainable Data Type
Enable Chaining of Any Type
We might all be familiar with chain syntax of Promises wherein to avoid callback hell we use then and catch methods
Ex:
fetch('https://...')
.then(res => log(res.data))
.catch(err => log(err))
But this might s...
bisu.hashnode.dev2 min read