Module util

Utility functions, intended for internal use only.

Info:

  • Copyright: Paul Liverman III (2015-2016)
  • Release: v0.0.0
  • License: The MIT License (MIT)

Functions

inheritsFromElement (object)


Functions

inheritsFromElement (object)

Parameters:

  • object A table (MoonScript object expected) to be checked for inheritence from the "element" element.

Returns:

    true / false: Is the table an object inherting from "element"?

Raises:

Can error if the table has a similar structure to a MoonScript object without being the same structure.
generated by LDoc 1.4.3 Last updated 2016-08-02 16:30:36