deepGetPropValues

Function

For a given property name, extract an array of the unique values of that property This was designed to work with string values, so no promises about other types

  • deepGetPropValues(obj: Record<stringany>, prop: string) : string[]

Parameters

Parameter Type Default Notes
obj Required Record<stringany>
prop Required string

Returns

string[]

Function defined in common/src/objects/deepGetPropValues.ts:10