reportValidity

open override fun reportValidity(): Boolean(source)

The reportValidity() method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.

MDN Reference