Unit 'Laz2_DOM' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lazutils]

TDOMElement.hasAttribute

Indicates if the Attributes property contains an item with the specified name.

Declaration

Source position: laz2_dom.pas line 650

public function TDOMElement.hasAttribute(

  const name: DOMString

):Boolean;

Arguments

name

  

Name of the Attribute to locate in the method.

Function result

True when an Attribute with the specified name exists in the Attributes property.


Version 4.4 Generated 2025-11-08 Home