Module clone
V8 Functions
clone
- clone<Type>(value: Type, setPrototype?: boolean): Type
-
Type parameters
Parameters
-
value: Type
-
setPrototype: boolean = true
Returns Type
cloneMarshalling
- cloneMarshalling<Type>(value: Type): Type
-
Type parameters
Parameters
Returns Type
cloneShallow
- cloneShallow<Type>(value: Type): Type
-
Type parameters
Parameters
Returns Type
clone
Deep clone object. Note: don't use on objects containing Functions.
import { clone } from '@corefunc/v8/clone/clone';
{Error}
0.0.1