25.212. Node.hasAttributes( ): determine whether a node has attributesDOM Level 2 Core25.212.1. Synopsisboolean hasAttributes( ); 25.212.1.1. ReturnsTRue if this node has one or more attributes; false if it has none. Note that only Element nodes can have attributes. 25.212.2. See AlsoElement.getAttribute( ), Element.hasAttribute( ), Node |