copy#

swordfish.function.copy()#

Returns a shallow copy of obj. A shallow copy only copies the outer structure, while inner elements (sub-objects) still share references with the original object.

参数:

obj (Constant) -- Can be of any data type.