Appearance
@vtj
@vtj / base / kvToArray
kvToArray(data, key, value): object[]
data
key
value
object
键值对转数组
Record<string, any> = {}
Record
string
any
{}
string = 'key'
'key'
string = 'value'
'value'
object[]
packages/base/src/data.ts:54