We define the Either type and see how it works. Then try it out to enforce a null check and branch our code.
I still don't understand how the inspect method works. Anyone please help?
Node will implicitly call inspect() on x when you console.log(x). Browsers do not support this so I often use .toString() and log with console.log(String(x))
This set of lessons is awesome ! really