![]() |
VOOZH | about |
The angular.isNumber() function in AngularJS is used to determine the parameter inside isNumber function is a number or not. It returns true if the reference is a number otherwise returns false.
Syntax:
angular.isNumber( value );
Parameter value:
Return Value: It returns a boolean value if the passed value is a number as true, otherwise returns false.
Example: This example illustrates the angular.isNumber() function in AngularJS, to check whether the entered value is a number or not.
Output:
Example: This example uses angular.isNumber() function to determine whether the given input is a number or not.
Output: