From bdb3cb21f9aacf7de53169c99563b471f985b82d Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 30 Jan 2012 10:01:08 -0500 Subject: [PATCH] fixing isObject documentation. --- index.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index b19f774c5..181e10983 100644 --- a/index.html +++ b/index.html @@ -221,6 +221,7 @@
  • - isEmpty
  • - isElement
  • - isArray
  • +
  • - isObject
  • - isArguments
  • - isFunction
  • - isString
  • @@ -231,7 +232,6 @@
  • - isNaN
  • - isNull
  • - isUndefined
  • -
  • - isObject
  • @@ -1113,6 +1113,18 @@ _.isElement(jQuery('body')[0]); => false _.isArray([1,2,3]); => true + + +

    + isObject_.isObject(value) +
    + Returns true if value is an Object. +

    +
    +_.isObject({});
    +=> true
    +_.isObject(1);
    +=> false
     

    @@ -1223,18 +1235,6 @@ _.isNull(undefined);

     _.isUndefined(window.missingVariable);
     => true
    -
    - -

    - isObject_.isObject(variable) -
    - Returns true if variable is an object. -

    -
    -_.isObject({});
    -=> true
    -_.isObject('am I an object?');
    -=> false
     

    Utility Functions