deleteProp

Function

Delete a property from an object using a deep path MODIFIES PASSED TARGET

  • deleteProp(target: Record<stringany>, lookupStr: string) : void

Parameters

Parameter Type Default Notes
target Required Record<stringany>

Object from which we want to delete the property

lookupStr Required string

Returns

void

Function defined in common/src/items/delete-prop.ts:7