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.

Parameters:

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