angular.isElement – Check if element


angular.isElement – Check if element : angular.isElement function is used to check whether a reference is DOM element or not. Let us understand this function with complete syntax and details.


angular.isElement – Check if element

Sytax for angular.isElement is as below-

Syntax –

angular.isElement Syntax

angular.isElement(value);

The above function checks whether the passed reference is DOM element or not.

Arguments

  • value : This is reference to check.

Returns

  • boolean : Returns true if reference is DOM element else it will return false.

Advertisements

Add Comment

📖 Read More