- fromPairs<T>(pairs: undefined | null | List<[PropertyName, T]>): Dictionary<T>
Parameters
- pairs: undefined | null | List<[PropertyName, T]>
Returns Dictionary<T>
Returns the new object.
- fromPairs(pairs: undefined | null | List<any[]>): Dictionary<any>
Parameters
- pairs: undefined | null | List<any[]>
Returns Dictionary<any>
The inverse of
_.toPairs
; this method returns an object composed from key-valuepairs
.