DQueryElement.hasAttribute

Returns true if the element has an attribute of the given type.

struct DQueryElement(QueryType, string Name, alias Overload = null)
@property
alias hasAttribute(Type) = Alias!(attributes.anyOf!Type.length > 0)

Meta