filter
Interfaces
Filter<T, K>
Type Parameters
• T
• K extends keyof T
= keyof T
Properties
active?
Defined in
tmp/commons/src/lib/utils/filter.ts:9
key
Defined in
tmp/commons/src/lib/utils/filter.ts:7
value
Defined in
tmp/commons/src/lib/utils/filter.ts:8
Type Aliases
FilterDefinition<T>
Type Parameters
• T
Type declaration
key
type?
Defined in
tmp/commons/src/lib/utils/filter.ts:12
Functions
filterItems()
Type Parameters
• T
Parameters
• __namedParameters = {}
• __namedParameters.filters?: Iterable
<Filter
<T
, keyof T
>> = []
• __namedParameters.items?: Iterable
<T
> = []
Returns
T
[]
Defined in
tmp/commons/src/lib/utils/filter.ts:29
getActiveFilters()
Type Parameters
• T
Parameters
• filters?: Iterable
<Filter
<T
, keyof T
>>
Returns
Defined in
tmp/commons/src/lib/utils/filter.ts:17
getQueriedItems()
Type Parameters
• T
Parameters
• __namedParameters
• __namedParameters.items?: Iterable
<T
> = []
• __namedParameters.queriedKeys?: Iterable
<StringKeys
<T
> | StringArrayKeys
<T
>> = []
• __namedParameters.query?: string
Returns
T
[]