AngularJS: API: ng/function/angular.isObject


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.