DomNode.hasAttributeContains

Checks whether an attribute is present within the node or not and contains the value as a word.

class DomNode
final @trusted
bool
hasAttributeContains
(
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