getProp

Function

Get a property out of a deeply nested object Does not handle anything but nested object graph

  • getProp(obj: [key: string]: any , path: string) : any

Parameters

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

Returns

any

Function defined in packages/common/src/objects/get-prop.ts:5