Skip to content

@vtj


@vtj / node / 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/types/data.d.ts:13

Released under the MIT License.