* Computes the maximum value of `array`. If `array` is empty or falsey, * `undefined` is returned. * * @static * @since 0.1.0 * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {*} Returns the maximum value. * @exa
(array)
| 16424 | * // => undefined |
| 16425 | */ |
| 16426 | function max(array) { |
| 16427 | return (array && array.length) |
| 16428 | ? baseExtremum(array, identity, baseGt) |
| 16429 | : undefined; |
| 16430 | } |
| 16431 | |
| 16432 | /** |
| 16433 | * This method is like `_.max` except that it accepts `iteratee` which is |
nothing calls this directly
no test coverage detected