angular.isFunction
angular.isFunction – This Checks if reference is a Function : angular.isFunction function is used to check whether a reference is fuction or not. The function isFunction will return true if passed reference is function else it will return false.
angular.isElement – Check if reference is function
Sytax for angular.isElement is as below-
Syntax –
angular.isFunction Syntax
angular.isElement(value); |
The above function checks whether the passed reference is function or not.
Arguments
- value : This is reference to check.
Returns
- boolean : Returns true if reference function else it will return false.
Advertisements