Hacker News new | ask | show | jobs
by carlosnunez 3740 days 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.

1 comments

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.