Which function in AngularJs is used to determine if the date is valid or not ?
(A)
angular.isTime()
(B)
angular.isDate()
(C)
angular.bootstrap()
(D)
angular.isElement()
Answer: (B)
Explanation:
The angular.isDate() function in AngularJS is used to check the value of data that is valid or not. It returns true if the reference is a date otherwise it returns false.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Article Tags :
Recommended Articles