function sap/ui/integration/designtime/baseEditor/util/unset

Visiblity: restricted
Available since: N/A
Module: sap/ui/integration/designtime/baseEditor/util/unset
Application Component:

Removes a specified key from an object or an array and recursively cleans up the hierarchy. The passed object or array is mutated.


Parameters Overview

Param Type Default Value Description
oObject object|array Plain object or array to modify
aParts string[] Path to property to remove
iMaxCleanupDepth? int Maximum depth for recursive cleanup of empty parents. By default, there is no limit.

Methods Overview

Method Description