* Creates a function that invokes `func` with the `this` binding of `thisArg` * and arguments of the created function. If `func` is a property name the * created callback returns the property value for a given element. If `func` * is an object the created callback returns `true` for e
(func, thisArg, guard)
| 12494 | * // => [{ 'user': 'fred', 'age': 40 }] |
| 12495 | */ |
| 12496 | function callback(func, thisArg, guard) { |
| 12497 | if (guard && isIterateeCall(func, thisArg, guard)) { |
| 12498 | thisArg = null; |
| 12499 | } |
| 12500 | return baseCallback(func, thisArg); |
| 12501 | } |
| 12502 | |
| 12503 | /** |
| 12504 | * Creates a function that returns `value`. |
no test coverage detected