The type of the keys in the object.
The object from which to delete the property.
The key of the property to delete.
The modified object with the key deleted.
const obj = { name: 'John', age: 30 };
objDelete(obj, 'age');
//=> { name: 'John' }
Generated using TypeDoc
Deletes a property from an object and returns the modified object.