import isArrayLike_default from "./isArrayLike.js";
function createBaseEach(t, n) {
	return function(r, i) {
		if (r == null) return r;
		if (!isArrayLike_default(r)) return t(r, i);
		for (var a = r.length, o = n ? a : -1, s = Object(r); (n ? o-- : ++o < a) && i(s[o], o, s) !== !1;);
		return r;
	};
}
var _createBaseEach_default = createBaseEach;
export { _createBaseEach_default as default };
