AMP_DOM_Utils::is_node_empty( DOMElement $node )
Description #
Determines if a DOMElement's node is empty or not.
.
Parameters #
- $node
-
(Required)
Represents an HTML element.
Return #
(bool) Returns true if the DOMElement has no child nodes and the textContent property of the DOMElement is empty; Otherwise it returns false.
Changelog #
Changelog
Version |
Description |
0.2 |
Introduced. |