Skip to content

@vtj


@vtj / base / mapToObject

Function: mapToObject()

mapToObject<V>(map): Record<any, V>

Map转键值对

Type Parameters

V = any

Parameters

map

Map<any, V>

Returns

Record<any, V>

Defined in

packages/base/src/data.ts:21

Released under the MIT License.