* Checks if the given arguments are from an iteratee call. * * @private * @param {*} value The potential iteratee value argument. * @param {*} index The potential iteratee index or key argument. * @param {*} object The potential iteratee object argument. * @returns {boo
(value, index, object)
| 6373 | * else `false`. |
| 6374 | */ |
| 6375 | function isIterateeCall(value, index, object) { |
| 6376 | if (!isObject(object)) { |
| 6377 | return false; |
| 6378 | } |
| 6379 | var type = typeof index; |
| 6380 | if (type == 'number' |
| 6381 | ? (isArrayLike(object) && isIndex(index, object.length)) |
| 6382 | : (type == 'string' && index in object) |
| 6383 | ) { |
| 6384 | return eq(object[index], value); |
| 6385 | } |
| 6386 | return false; |
| 6387 | } |
| 6388 | |
| 6389 | /** |
| 6390 | * Checks if `value` is a property name and not a property path. |
no test coverage detected