The lodash functions have built in guards so you can do _.map() and not have to care if the argument you pass in is, in fact, an Array.
I can’t tell you how many times I see “can’t call function toLowerCase of undefined”, etc.
“but Typescript!”, doesn’t do runtime type checking.
I very much prefer defensive programming. Assume nothing.