MostlyAdequate / mostly-adequate-guide

Mostly adequate guide to FP (in javascript)
Other
23.29k stars 1.86k forks source link

Type safety or null safety #619

Open Kuncheria-Kuruvilla opened 3 years ago

Kuncheria-Kuruvilla commented 3 years ago

In chapter 8, section Usecases. The following line got me confused

safeHead is like our normal head, but with added type safety

Maybe adds more of null safety than type safety right. Please correct me if I am wrong.