mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-11 10:59:24 +08:00
docs(core): add note that isObject returns true for arrays
Closes #6353
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user