Comment by carlosnunez

11 years ago

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.

When using a language where

    isArray(arr)

turns into

    toString.call(arr) == '[object Array]'

...then I guess that's more reasonable than if you use something sane.