UNPKG

@tidyjs/tidy

Version:

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

12 lines (9 loc) 259 B
import { keysFromItems } from '../helpers/keysFromItems.js'; function matches(regex) { return (items) => { const keys = keysFromItems(items); return keys.filter((d) => regex.test(d)); }; } export { matches }; //# sourceMappingURL=matches.js.map