Utilities for working with simple JS and TS dictionaries
Function | Description |
---|---|
dictFilter(from, filter) | |
dictFilter(from, filter) | |
dictForEach(from, callback) | |
dictMap(from, transform) | |
dictReduce(from, reducer, initialVal) | Iterate over a dictionary to incrementally create a single value |
Type Alias | Description |
---|---|
Dict | |
IReducerFn | Reducer function T - item type, of the collection being reduced R - reduced value |
ITransformerFn | Transformer function |