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