Module util
Utility functions, intended for internal use only.
Info:
- Copyright: Paul Liverman III (2015-2016)
- License: The MIT License (MIT)
Functions
inheritsFromElement (object) |
Functions
- inheritsFromElement (object)
-
Parameters:
- object table MoonScript object to be checked for inheritence from the "element" element.
Returns:
-
boolean
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.See also: