deleteProperties<T>
Deletes multiple properties from an object.
Import:
import { deleteProperties } from 'obsidian-dev-utils/object-utils';Signature:
function deleteProperties(obj: T, propertyNames: (keyof T)[]): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
obj | T | The object to delete the properties from. |
propertyNames | (keyof T)[] | The names of the properties to delete. |
Returns: boolean — true if any of the properties were present, otherwise false.