UNPKG

@tidyjs/tidy

Version:

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse

10 lines (7 loc) 219 B
import { max as max$1 } from 'd3-array'; function max(key) { const keyFn = typeof key === "function" ? key : (d) => d[key]; return (items) => max$1(items, keyFn); } export { max }; //# sourceMappingURL=max.js.map