The object to be cloned. This can be any structured-clonable type.
The returned value is a deep copy of the original value.
Object to de-cycle.
Path ot property to de-cycle.
De-cycled object.
Object to lock.
Locked object.
Object to search in.
Count of properties.
Object to search in
String key or array of string to form path
Value in path or default value
Object to search in
Is own property.
Object to be ordered.
New object with ordered keys.
New plain object.
Object to be sorted.
New object with sorted keys.
Object to set in.
Object that was modified.
Object to search in
Array with values.
Generated using TypeDoc
objectBasicClone
Creates a deep clone of a given value using the structured clone algorithm. Do not throw errors if structured cloning is not possible. In case of failure returns the same variable. You can check it with
Object.is(originalVariable, clonedVariable)
. Requires: NodeJS v17.0.0, Firefox v94.import { objectBasicClone } from "@corefunc/corefunc/object/basic/clone";
0.3.20