Skip to content

@vtj


@vtj / node / arrayToKv

Function: arrayToKv()

arrayToKv(data?, key?, value?): Record<string, any>

数组转键值对

Parameters

data?

Record<string, any>[]

key?

string

value?

string

Returns

Record<string, any>

Defined in

packages/base/types/data.d.ts:21

Released under the MIT License.