UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

10 lines (9 loc) 202 B
export function groupEvaluator(g, d) { if (typeof g === "function") return g(d); const v = []; for (let i = 0; i < g.length; i++) { v.push(g[i].fn(d)); } return v; }