- zipObject<T>(props: List<PropertyName>, values: List<T>): Dictionary<T>
Parameters
- props: List<PropertyName>
- values: List<T>
Returns Dictionary<T>
Returns the new object.
- zipObject(props?: List<PropertyName>): Dictionary<undefined>
Parameters
Optional
props: List<PropertyName>
Returns Dictionary<undefined>
This method is like _.fromPairs except that it accepts two arrays, one of property identifiers and one of corresponding values.