Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
import { reduce } from './reduce';
|
||||
import { isFunction } from '../util/isFunction';
|
||||
export function max(comparer) {
|
||||
return reduce(isFunction(comparer) ? (x, y) => (comparer(x, y) > 0 ? x : y) : (x, y) => (x > y ? x : y));
|
||||
}
|
||||
//# sourceMappingURL=max.js.map
|
||||
Reference in new issue
Block a user