Improve this Doc View Source angular.isObject

  1. function in module ng

Determines if a reference is an Object. Unlike typeof in JavaScript, nulls are not considered to be objects. Note that JavaScript arrays are objects.

Usage

angular.isObject(value);

Arguments

Param Type Details
value *

Reference to check.

Returns

boolean

True if value is an Object but not null.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ng/function/angular.isObject