I get that author's point, but do you REALLY need a dependency module that tells you the type of something?
That's not a Lego block; that's an excuse.
That's not a Lego block; that's an excuse.
isArray(arr)
turns into toString.call(arr) == '[object Array]'
...then I guess that's more reasonable than if you use something sane.