UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

16 lines (15 loc) 403 B
"use client"; const r = (e, t, [a, l]) => { const n = new Date(e.getValue(t)); return n.getTime() >= a.getTime() && n.getTime() <= l.getTime(); }; r.resolveFilterValue = ([e, t]) => [new Date(e), new Date(t)]; const c = (e, t, [a, l]) => { const n = e.getValue(t) * 100; return n >= a && n <= l; }; export { r as isInDateRange, c as isInPercentRange }; //# sourceMappingURL=filterFns.js.map