getProps

Function

Given an array of prop paths, return all the values that exist, in an array

  • getProps(obj: [key: string]: any , props: string[]) : any[]

Parameters

Parameter Type Default Notes
obj Required [key: string]: any
props Required string[]

Returns

any[]

Function defined in common/src/objects/get-props.ts:6