Element, EventTarget, or CSS selector.
Name of the style property to check for.
Optionalvalue: StyleValueOptional style property value to check for.
true if the specified style is present.
elements!InvalidElementError if the target could not be found or doesn't have a style property.
Checks if the specified
targethas the specified style property with the namekey. If avalueis specified, checks that the values match.