copyProps()

Copies the specified properties from the source object to the target object.

This function is valid in v2.14.0. This function has been downloaded 5 times.

Parameters

{*} target
Target object to which the properties will be copied.
{*} source
Source object from which the properties will be copied.
{Array} keys
Array of keys for the properties that should be copied from source to target.
{boolean=} opt_dontDelete Optional, Default:false
Indicates whether properties that dont exist should be deleted between objects. If true, non-existent properties will be set to undefined.

Returns

{*}
Returns a reference to target.