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