checkValidity

open override fun checkValidity(): Boolean(source)

The checkValidity() method of the HTMLSelectElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it.

MDN Reference