import isArrayLike_default from "./isArrayLike.js";
import toInteger_default from "./toInteger.js";
import _baseIndexOf_default from "./_baseIndexOf.js";
import isString_default from "./isString.js";
import values_default from "./values.js";
var nativeMax = Math.max;
function includes(o, s, c, l) {
	o = isArrayLike_default(o) ? o : values_default(o), c = c && !l ? toInteger_default(c) : 0;
	var u = o.length;
	return c < 0 && (c = nativeMax(u + c, 0)), isString_default(o) ? c <= u && o.indexOf(s, c) > -1 : !!u && _baseIndexOf_default(o, s, c) > -1;
}
var includes_default = includes;
export { includes_default as default };
