import{dN as g,gz as i,gA as n,gB as p,gC as h}from"./index-9PRMimni.js";import{t as v}from"./toInteger-DQeH-nF-.js";function y(a,r){return g(r,function(s){return a[s]})}function M(a){return a==null?[]:y(a,i(a))}var k=Math.max;function e(a,r,s,t){a=n(a)?a:M(a),s=s&&!t?v(s):0;var u=a.length;return s<0&&(s=k(u+s,0)),p(a)?s<=u&&a.indexOf(r,s)>-1:!!u&&h(a,r,s)>-1}export{e as i};
