- Preparing search index...
- The search index is not available
LDesign 基础库
- zipObject<T>(props, values): Dictionary<T>
-
Parameters
-
props: List<PropertyName>
-
values: List<T>
Returns Dictionary<T>
Returns the new object.
- zipObject(props?): 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.