mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Bump to v4.11.2.
This commit is contained in:
4
min.js
4
min.js
@@ -1,6 +1,6 @@
|
||||
import baseExtremum from './_baseExtremum';
|
||||
import baseLt from './_baseLt';
|
||||
import identity from './identity';
|
||||
import lt from './lt';
|
||||
|
||||
/**
|
||||
* Computes the minimum value of `array`. If `array` is empty or falsey,
|
||||
@@ -22,7 +22,7 @@ import lt from './lt';
|
||||
*/
|
||||
function min(array) {
|
||||
return (array && array.length)
|
||||
? baseExtremum(array, identity, lt)
|
||||
? baseExtremum(array, identity, baseLt)
|
||||
: undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user