Kaizen
Browse modulesData tabledatatable/sharedFunctions

Function: isFilterActive()

function isFilterActive(filter: FilterConfig, value: FilterValue): boolean;

Defined in: shared/datatable/lib/filter-state.ts:66

"Active" means: the user has set the filter to a non-default, non-empty value. Radio: anything other than defaultValue. Multiselect: non-empty array. Date-range: at least one bound set.

Parameters

ParameterType
filterFilterConfig
valueFilterValue

Returns

boolean

On this page