From 7a2e45eb3a47506004b1d4d864106645fd7e7740 Mon Sep 17 00:00:00 2001 From: bjh Date: Thu, 26 Jan 2012 15:57:52 -0500 Subject: [PATCH 1/2] added documentation for _.isObject --- index.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index dd963c707..3aa65a58a 100644 --- a/index.html +++ b/index.html @@ -231,6 +231,7 @@
  • - isNaN
  • - isNull
  • - isUndefined
  • +
  • - isObject
  • @@ -1223,7 +1224,17 @@ _.isNull(undefined); _.isUndefined(window.missingVariable); => true - + +

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

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

    Utility Functions

    From 53829cbd5c51e3319b843130890fbef0abd951c9 Mon Sep 17 00:00:00 2001 From: bjh Date: Thu, 26 Jan 2012 16:04:58 -0500 Subject: [PATCH 2/2] added a false case for the isObject test documentation --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 3aa65a58a..b19f774c5 100644 --- a/index.html +++ b/index.html @@ -1233,6 +1233,8 @@ _.isUndefined(window.missingVariable);

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

    Utility Functions