checkValidity

open override fun checkValidity(): Boolean(source)

Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.

MDN Reference