DomNode.hasAttributeStartsWith

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

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