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