summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/doctrine/node_modules/isarray/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/doctrine/node_modules/isarray/index.js')
-rw-r--r--tools/eslint/node_modules/doctrine/node_modules/isarray/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/doctrine/node_modules/isarray/index.js b/tools/eslint/node_modules/doctrine/node_modules/isarray/index.js
new file mode 100644
index 0000000000..5f5ad45d46
--- /dev/null
+++ b/tools/eslint/node_modules/doctrine/node_modules/isarray/index.js
@@ -0,0 +1,3 @@
+module.exports = Array.isArray || function (arr) {
+ return Object.prototype.toString.call(arr) == '[object Array]';
+};