deleteKeys()

Deletes one or more keys from an object of some sort.

This function is valid in v2.8.0 to v2.24.3. This function has been downloaded 63 times.

Parameters

{Object|undefined|null} obj
If undefined or null, a partial function waiting for this value will be returned. Otherwise this will be the object from which the specified keys will be deleted.
{Arrays} keys
Array of keys to be deleted from obj.

Returns

{Function|Object}
If obj is undefined or null this will be a partial function which will simply accept the given obj. The return value of the partial function is the same as the return value of this function in the case that obj is not undefined or null. All keys that are found and successfully deleted will be returned within an object.

Required Function

This function directly requires the following function which is included automatically:

  • has()
    Every object descended from Object inherits the hasOwnProperty method. This method can be used to determine whether an object has the specified property as a direct property of that object; unlike the in operator, this method does not check down the object's prototype chain.