import { some } from "./chunk-4AK4GF4H.js"; // node_modules/.pnpm/bpmn-js@16.3.2/node_modules/bpmn-js/lib/util/ModelUtil.js function is(element, type) { var bo = getBusinessObject(element); return bo && typeof bo.$instanceOf === "function" && bo.$instanceOf(type); } function isAny(element, types) { return some(types, function(t) { return is(element, t); }); } function getBusinessObject(element) { return element && element.businessObject || element; } function getDi(element) { return element && element.di; } export { is, isAny, getBusinessObject, getDi }; //# sourceMappingURL=chunk-L5SG54UC.js.map