checkValidity method
The HTMLInputElement.checkValidity()
method returns a boolean value
which indicates validity of the value of the element. If the value is
invalid, this method also fires the HTMLInputElement.invalid_event
event
on the element.
Implementation
external bool checkValidity();