Methods


Class:canDeepCopy()

Returns whether this class will be deep copied when a table/class which contains it is deep copied.

Returns:

1: boolean


Class:canDeepCopyKey(key: string)

Returns whether the specified variable from this class should be deep copied.

Arguments:

key: string

Returns:

1: boolean


Class:clone()

Returns a deep copy of this class.

Returns:

1: Class


Class:include(other: function|Class>)

(Called internally) Deeply copies other into class. Keys in other that are already defined in class are omitted.

Arguments:

other: function|Class>

Returns:

1: function|Class>|Class


Class:includes(other: function|Class)

Checks whether this class is or extends another class.

Arguments:

other: function|Class

Returns:

1: boolean



Fields







Class.id: string|nil

The ID of the class.




Undocumented