redis-smq-common
Version:
RedisSMQ Common Library provides many components that are mainly used by RedisSMQ and RedisSMQ Monitor.
13 lines • 475 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.each = void 0;
const each_in_js_1 = require("./each-in.js");
const each_of_js_1 = require("./each-of.js");
const each = (collection, iteratee, callback) => {
if (Array.isArray(collection))
(0, each_of_js_1.eachOf)(collection, iteratee, callback);
else
(0, each_in_js_1.eachIn)(collection, iteratee, callback);
};
exports.each = each;
//# sourceMappingURL=each.js.map