hexo/node_modules/async/internal/isArrayLike.js

10 lines
291 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
'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;
}
2023-09-25 15:58:56 +08:00
module.exports = exports['default'];