cloneMembers MethodStatic

Deprecated  in 4.x. Use cloneArray.

Clone an array whose members have type T, which implements the clone method.

  • If the clone method returns undefined, then undefined is forced into the cloned array.

cloneMembers<T extends Cloneable<T>>(array: T[]): undefined | T[]

Parameter Type Description
array T[]  

Returns - undefined | T[]

Defined in

Last Updated: 21 November, 2024