ElementNode::hasAttributes

The hasAttributes() method checks if the current element has any attributes. It returns true if the element has one or more attributes, and false if it has none.

Description

public ElementNode::hasAttributes(): bool

Parameters

None

Return Value

Returns a bool indicating whether the element has any attributes.

Exceptions

None

Source Code
If you find this project useful, consider leaving a on GitHub! Thank you!