import{isFunction as n,__DEV__ as r,__TEST__ as e}from"./assertion.js";function o(r){for(var e=arguments.length,o=new Array(e>1?e-1:0),t=1;t<e;t++)o[t-1]=arguments[t];return n(r)?r(...o):r}function t(){for(var n=arguments.length,r=new Array(n),e=0;e<n;e++)r[e]=arguments[e];return function(n){r.some((r=>(null==r||r(n),null==n?void 0:n.defaultPrevented)))}}function u(){for(var n=arguments.length,r=new Array(n),e=0;e<n;e++)r[e]=arguments[e];return function(n){r.forEach((r=>{null==r||r(n)}))}}function a(n){var r;return function(){if(n){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];r=n.apply(this,o),n=null}return r}}var i=()=>{},f=a((n=>()=>{var{condition:e,message:o}=n;e&&r&&console.warn(o)})),l=e?n=>n():"function"==typeof queueMicrotask?queueMicrotask:n=>{Promise.resolve().then(n)};export{u as callAll,t as callAllHandlers,i as noop,a as once,o as runIfFn,l as scheduleMicrotask,f as warn};
//# sourceMappingURL=function.js.map
