UNPKG

@tidyjs/tidy

Version:

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

14 lines (9 loc) 301 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var d3Array = require('d3-array'); function max(key) { const keyFn = typeof key === "function" ? key : (d) => d[key]; return (items) => d3Array.max(items, keyFn); } exports.max = max; //# sourceMappingURL=max.js.map