@opentiny/vue-renderless
Version:
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
14 lines (13 loc) • 369 B
JavaScript
import "../../../chunk-G2ADBYYC.js";
import arrayEach from "../array/arrayEach";
import objectEach from "../object/objectEach";
const each = (obj, iterate, context) => {
if (obj) {
return Array.isArray(obj) ? arrayEach(obj, iterate, context) : objectEach(obj, iterate, context);
}
return obj;
};
var each_default = each;
export {
each_default as default
};