- Preparing search index...
- The search index is not available
lightdash
- toMap<TValue>(object: Record<PropertyKey, TValue> | ArrayLike<TValue>): Map<string, TValue>
-
Parameters
-
object: Record<PropertyKey, TValue> | ArrayLike<TValue>
Returns Map<string, TValue>
Creates a map from the own entries of an object.
Since
1.0.0
See
toMapBy
Returns
Map created from the object.
Example