Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3193a3a

Browse files
cnlevycaitp
authored andcommitted
docs(core): add note that isObject returns true for arrays
Closes #6353
1 parent 6082e2a commit 3193a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Angular.js

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

0 commit comments

Comments
 (0)