/* esm.sh - es-toolkit@1.53.0/dist/function/after */
function i(e,r){if(!Number.isInteger(e)||e<0)throw new Error("n must be a non-negative integer.");let t=0;return(...n)=>{if(++t>=e)return r(...n)}}export{i as after};
//# sourceMappingURL=after.mjs.map