11 ms·
With TypeScript a nullable return type effectively is an ADT.
by wk_end 2y ago
With TypeScript a nullable return type effectively is an ADT.
- seniorsassycat 2y agoBut it's not Either / Result because there no error information on null
- tengbretson 2y agoThen return something else.