Constnium/node_modules/async/internal/isArrayLike.js
2022-06-22 19:41:32 +02:00

10 lines
No EOL
282 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'];