Module clone

Function for creating a shallow-copy of a table.

Functions

clone (obj) Creates a shallow-copy of the given table.


Functions

clone (obj)
Creates a shallow-copy of the given table.

Parameters:

  • obj table for which to construct the shallow-copy

Returns:

    a shallow-copy of obj
generated by LDoc 1.4.3 Last updated 2017-06-01 23:07:48