dict-utils

Home > dict-utils > dictFilter

dictFilter() function

Signature:

export declare function dictFilter<T>(from: Dict<T>, filter: (val: T, key: string | number, from: Dict<T>) => unknown): Dict<T>;

Parameters

Parameter Type Description
from Dict<T>  
filter (val: T, key: string | number, from: Dict<T>) => unknown  

Returns:

Dict<T>