summaryrefslogtreecommitdiff
path: root/node_modules/async/internal/isArrayLike.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/async/internal/isArrayLike.js')
-rw-r--r--node_modules/async/internal/isArrayLike.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/async/internal/isArrayLike.js b/node_modules/async/internal/isArrayLike.js
new file mode 100644
index 0000000..ce07670
--- /dev/null
+++ b/node_modules/async/internal/isArrayLike.js
@@ -0,0 +1,10 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = isArrayLike;
+function isArrayLike(value) {
+ return value && typeof value.length === 'number' && value.length >= 0 && value.length % 1 === 0;
+}
+module.exports = exports['default']; \ No newline at end of file