Home > dict-utils > dictFilter
Signature:
export declare function dictFilter<T, S extends T>(from: Dict<T>, filter: (val: T, key: string | number, from: Dict<T>) => val is S): Dict<S>;
Parameter | Type | Description |
---|---|---|
from | Dict<T> |
|
filter | (val: T, key: string | number, from: Dict<T>) => val is S |
Returns:
Dict<S>