@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.
16 lines (15 loc) • 342 B
JavaScript
import "../../../chunk-G2ADBYYC.js";
const arrayIndexOf = (obj, val) => {
if (obj.indexOf) {
return obj.indexOf(val);
}
for (let index = 0, len = obj.length; index < len; index++) {
if (val === obj[index]) {
return index;
}
}
};
var arrayIndexOf_default = arrayIndexOf;
export {
arrayIndexOf_default as default
};