Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeepCopier

Class containing a set of static utilities functions for deep copy.

Hierarchy

  • DeepCopier

Index

Methods

Methods

Static DeepCopySearch playground for DeepCopy

  • DeepCopy(source: any, destination: any, doNotCopyList?: string[], mustCopyList?: string[]): void
  • Tries to copy an object by duplicating every property

    Parameters

    • source: any

      defines the source object

    • destination: any

      defines the target object

    • Optional doNotCopyList: string[]

      defines a list of properties to avoid

    • Optional mustCopyList: string[]

      defines a list of properties to copy (even if they start with _)

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method