DomNode.hasAttributeSubstring

Checks whether an attribute is present within the node or not and contains a substring with the value given.

class DomNode
final @trusted
bool
hasAttributeSubstring
(
string name
,
string value
)

Parameters

name string

The name of the attribute.

value string

The value of the attribute.

Return Value

Type: bool

True if the attribute is present, false otherwise.

Meta