Skip to content

@vtj


@vtj / base / kvToArray

Function: kvToArray()

kvToArray(data, key, value): object[]

键值对转数组

Parameters

data

Record<string, any> = {}

key

string = 'key'

value

string = 'value'

Returns

object[]

Defined in

packages/base/src/data.ts:54

Released under the MIT License.