fuc-new/doc/node_modules/async/internal/isArrayLike.js
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

10 lines
279 B
JavaScript

'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;