VOOZH about

URL: https://www.geeksforgeeks.org/angular-js/angularjs-angular-isobject-function/

⇱ AngularJS angular.isObject() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

AngularJS angular.isObject() Function

Last Updated : 5 Sep, 2022

The angular.isobject() Function in AngularJS is used to determine if the parameter inside isobject function is an object or not. It returns true if the reference is an object or else false. 

Syntax:

angular.isobject(value);

Parameter:

  • value: This parameter value validates whether the entered value is an object or not.

Return Value: It returns true if the value passed is an object else false.

Example 1: This example describes the angular.isObject() Function in AngularJS.

Output:

👁 isobject

Example 2: This example describes the angular.isObject() Function in AngularJS, where both the input values are validated.

Output:

👁 Image
 
Comment

Explore