objectToArray

Function

Given an object, convert into an array, with each something or other

  • objectToArray(obj: [key: string]: any , keyProp: string) : any[]

Parameters

Parameter Type Default Notes
obj Required [key: string]: any
keyProp Optional string "id"

Returns

any[]

Function defined in packages/common/src/util.ts:57