[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates if the DOM Element does not have any content.
Source position: laz2_dom.pas line 633
public function TDOMElement.IsEmpty: Boolean; virtual; |
True when the DOM Element is empty.
IsEmpty is a Boolean function used to determine if the DOM element does not have any content. The return value is True when Attributes has not been assigned (contains Nil) or has a Length / Count of 0.
Remark: | Technically, this implementation is incorrect. An empty element is one which has no child Text or Element nodes. And, an empty element can have attributes values (default or specified). Use HasChildNodes instead. |
Version 3.2 | Generated 2024-02-25 | Home |