mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
fixing isObject documentation.
This commit is contained in:
26
index.html
26
index.html
@@ -221,6 +221,7 @@
|
||||
<li>- <a href="#isEmpty">isEmpty</a></li>
|
||||
<li>- <a href="#isElement">isElement</a></li>
|
||||
<li>- <a href="#isArray">isArray</a></li>
|
||||
<li>- <a href="#isObject">isObject</a></li>
|
||||
<li>- <a href="#isArguments">isArguments</a></li>
|
||||
<li>- <a href="#isFunction">isFunction</a></li>
|
||||
<li>- <a href="#isString">isString</a></li>
|
||||
@@ -231,7 +232,6 @@
|
||||
<li>- <a href="#isNaN">isNaN</a></li>
|
||||
<li>- <a href="#isNull">isNull</a></li>
|
||||
<li>- <a href="#isUndefined">isUndefined</a></li>
|
||||
<li>- <a href="#isObject">isObject</a></li>
|
||||
</ul>
|
||||
|
||||
<a class="toc_title" href="#utility">
|
||||
@@ -1113,6 +1113,18 @@ _.isElement(jQuery('body')[0]);
|
||||
=> false
|
||||
_.isArray([1,2,3]);
|
||||
=> true
|
||||
</pre>
|
||||
|
||||
<p id="isObject">
|
||||
<b class="header">isObject</b><code>_.isObject(value)</code>
|
||||
<br />
|
||||
Returns <i>true</i> if <b>value</b> is an Object.
|
||||
</p>
|
||||
<pre>
|
||||
_.isObject({});
|
||||
=> true
|
||||
_.isObject(1);
|
||||
=> false
|
||||
</pre>
|
||||
|
||||
<p id="isArguments">
|
||||
@@ -1223,18 +1235,6 @@ _.isNull(undefined);
|
||||
<pre>
|
||||
_.isUndefined(window.missingVariable);
|
||||
=> true
|
||||
</pre>
|
||||
|
||||
<p id="isObject">
|
||||
<b class="header">isObject</b><code>_.isObject(variable)</code>
|
||||
<br />
|
||||
Returns <i>true</i> if <b>variable</b> is an <i>object</i>.
|
||||
</p>
|
||||
<pre>
|
||||
_.isObject({});
|
||||
=> true
|
||||
_.isObject('am I an object?');
|
||||
=> false
|
||||
</pre>
|
||||
|
||||
<h2 id="utility">Utility Functions</h2>
|
||||
|
||||
Reference in New Issue
Block a user