Function: filterPeriods()
filterPeriods(
periods,years,month):InsightPeriod[]
Defined in: src/lib/payroll/insights.ts:164
Client-side chip filter: empty years = all years; month null = all months
(1-12 otherwise). Both key on the period START.
Parameters
periods
readonly InsightPeriod[]
years
ReadonlySet<number>
month
number | null