cloneWithNonEnumerableProperties<T>
Clones an object, including non-enumerable properties.
Import:
import { cloneWithNonEnumerableProperties } from 'obsidian-dev-utils/object-utils';Signature:
function cloneWithNonEnumerableProperties($object: T): TParameters:
| Parameter | Type | Description |
|---|---|---|
$object | T |
Returns: T — A new object with the same properties as the original object, including non-enumerable properties.