validity

open override val validity: ValidityState(source)

Returns a ValidityState object that represents the validity states of an element.

MDN Reference