docs(core): add note that isObject returns true for arrays

Closes #6353
This commit is contained in:
cnlevy
2014-02-19 22:13:24 +02:00
committed by Caitlin Potter
parent 6082e2ad16
commit 3193a3a5af

View File

@@ -445,7 +445,7 @@ function isDefined(value){return typeof value !== 'undefined';}
*
* @description
* Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not
* considered to be objects.
* considered to be objects. Note that JavaScript arrays are objects.
*
* @param {*} value Reference to check.
* @returns {boolean} True if `value` is an `Object` but not `null`.