checkValidity method
The HTMLSelectElement.checkValidity() method checks
whether the element has any constraints and whether it satisfies them. If
the element
fails its constraints, the browser fires a cancelable
HTMLSelectElement.invalid_event event at the
element, and then returns false.
Implementation
external bool checkValidity();