2016-06-21 05:52:44 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<head>
|
|
|
|
<title>Documentation</title>
|
|
|
|
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="container">
|
|
|
|
|
|
|
|
<div id="product">
|
|
|
|
<div id="product_logo"></div>
|
|
|
|
<div id="product_name"><big><b></b></big></div>
|
|
|
|
<div id="product_description"></div>
|
|
|
|
</div> <!-- id="product" -->
|
|
|
|
|
|
|
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Menu -->
|
|
|
|
|
|
|
|
<div id="navigation">
|
|
|
|
<br/>
|
|
|
|
<h1>Pop.Box()</h1>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="../index.html">Index</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h2>Contents</h2>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#Functions">Functions</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Modules</h2>
|
|
|
|
<ul class="$(kind=='Topics' and '' or 'nowrap'">
|
|
|
|
<li><a href="../modules/pop.html">pop</a></li>
|
2016-08-21 07:49:16 +00:00
|
|
|
<li><a href="../modules/main.html">main</a></li>
|
2016-06-21 05:52:44 +00:00
|
|
|
<li><strong>util</strong></li>
|
2016-08-21 07:49:16 +00:00
|
|
|
<li><a href="../modules/Element.html">Element</a></li>
|
|
|
|
</ul>
|
|
|
|
<h2>Classes</h2>
|
|
|
|
<ul class="$(kind=='Topics' and '' or 'nowrap'">
|
|
|
|
<li><a href="../classes/element.html">element</a></li>
|
2016-06-21 05:52:44 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
|
|
|
|
<h1>Module <code>util</code></h1>
|
|
|
|
<p>Utility functions, intended for internal use only.</p>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h3>Info:</h3>
|
|
|
|
<ul>
|
|
|
|
<li><strong>Copyright</strong>: Paul Liverman III (2015-2016)</li>
|
|
|
|
<li><strong>License</strong>: The MIT License (MIT)</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<h2><a href="#Functions">Functions</a></h2>
|
|
|
|
<table class="function_list">
|
|
|
|
<tr>
|
|
|
|
<td class="name" nowrap><a href="#inheritsFromElement">inheritsFromElement (object)</a></td>
|
|
|
|
<td class="summary">
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section-header "><a name="Functions"></a>Functions</h2>
|
|
|
|
|
|
|
|
<dl class="function">
|
|
|
|
<dt>
|
|
|
|
<a name = "inheritsFromElement"></a>
|
|
|
|
<strong>inheritsFromElement (object)</strong>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Parameters:</h3>
|
|
|
|
<ul>
|
|
|
|
<li><span class="parameter">object</span>
|
2016-08-21 07:49:16 +00:00
|
|
|
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a></span>
|
|
|
|
MoonScript object to be checked for inheritence from
|
|
|
|
the "element" element.
|
2016-06-21 05:52:44 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h3>Returns:</h3>
|
|
|
|
<ol>
|
|
|
|
|
2016-08-21 07:49:16 +00:00
|
|
|
<span class="types"><span class="type">boolean</span></span>
|
|
|
|
Is the table an object inherting from "element"?
|
2016-06-21 05:52:44 +00:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<h3>Raises:</h3>
|
2016-08-21 07:49:16 +00:00
|
|
|
Can error if the table has a similar structure to a MoonScript object
|
|
|
|
without being the same structure.
|
2016-06-21 05:52:44 +00:00
|
|
|
|
2016-08-21 07:49:16 +00:00
|
|
|
<h3>See also:</h3>
|
|
|
|
<ul>
|
|
|
|
<a href="../modules/Element.html#">Element</a>
|
|
|
|
</ul>
|
2016-06-21 05:52:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div> <!-- id="content" -->
|
|
|
|
</div> <!-- id="main" -->
|
|
|
|
<div id="about">
|
|
|
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
2016-09-08 04:42:19 +00:00
|
|
|
<i style="float:right;">Last updated 2016-09-07 21:37:53 </i>
|
2016-06-21 05:52:44 +00:00
|
|
|
</div> <!-- id="about" -->
|
|
|
|
</div> <!-- id="container" -->
|
|
|
|
</body>
|
|
|
|
</html>
|