aboutsummaryrefslogtreecommitdiff
path: root/node_modules/isarray/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/isarray/index.js')
-rw-r--r--node_modules/isarray/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/isarray/index.js b/node_modules/isarray/index.js
new file mode 100644
index 0000000..a57f634
--- /dev/null
+++ b/node_modules/isarray/index.js
@@ -0,0 +1,5 @@
+var toString = {}.toString;
+
+module.exports = Array.isArray || function (arr) {
+ return toString.call(arr) == '[object Array]';
+};