ds.copy
digital synapse edited this page Mar 3, 2015
·
4 revisions
This function provides deep object copy/merge functionality with some extra options.
###Arguments
-
src
<object|array>
the source object -
dest
<object|array>
the destination object -
blacklist
<array> optional
an array of property names that should not be copied -
addonly
<bool> optional
will copy only properties/indexes that do not exist in dest
###Returns
- dest
<object|array>