Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CloneListOptionsInterface

Index

Properties

Optional circular

circular: boolean

Defaults to true. Call clone with circular set to false if you are certain that obj contains no circular references. This will give better performance if needed. There is no error if undefined or null is passed as

Optional depth

depth: number

Depth to which the object is to be cloned (optional, defaults to Infinity)

Optional includeNonEnumerable

includeNonEnumerable: boolean

Set to true if the non-enumerable properties should be cloned as well. Non-enumerable properties on the prototype chain will be ignored. (optional, defaults to false)

Optional prototype

prototype: any

Sets the prototype to be used when cloning an Object. (optional, defaults to proto of the to be cloned value, ie. the cloned object will have the same prototype as the original).

Generated using TypeDoc