- Preparing search index...
- The search index is not available
LDesign 基础库
- fromPairs<T>(pairs): Dictionary<T>
-
Parameters
-
pairs: undefined | null | List<[PropertyName, T]>
Returns Dictionary<T>
Returns the new object.
- fromPairs(pairs): Dictionary<any>
-
Parameters
-
pairs: undefined | null | List<any[]>
Returns Dictionary<any>
The inverse of
_.toPairs
; this method returns an object composed from key-valuepairs
.Example