Node.nodeType

NodeType nodeType() @property const

The type of the node (NodeType.Element, NodeType.Text, ...)