Home > @gglib/utils > copy

copy() function

Signature:

export declare function copy<T>(srcOrDeep: boolean, srcOrDest?: T, dest?: Partial<T>): T;

Parameters

Parameter Type Description
srcOrDeep boolean
srcOrDest T
dest Partial<T>

Returns:

T