UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

17 lines (16 loc) 529 B
import eq from "./eq.js"; import isArrayLike from "./isArrayLike.js"; import isIndex from "./_isIndex.js"; import isObject from "./isObject.js"; function isIterateeCall(value, index, object) { if (!isObject(object)) { return false; } var type = typeof index; if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) { return eq(object[index], value); } return false; } export { isIterateeCall as default }; //# sourceMappingURL=_isIterateeCall.js.map