HTMLObjectElement.checkValidity

The checkValidity() method of the HTMLObjectElement interface returns a Boolean that always is true, because object objects are never candidates for constraint validation.

Syntax

const valid = HTMLObjectElement.checkValidity();

Parameters

None.

Return value

true

Exceptions

None.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'checkValidity' in that specification.
Living Standard Initial definition.

Browser compatibility

BCD tables only load in the browser