summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js b/bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js
new file mode 100644
index 00000000..2d0e0f3d
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/moment/src/lib/utils/is-array.js
@@ -0,0 +1,3 @@
+export default function isArray(input) {
+ return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
+}