DocumentLocator.has

Check if an element is present in Locator by key id.

Note: This check should be done for elements that locator actually contains, and not in chained locator.

class DocumentLocator(DocumentType)
inout @trusted
bool
has
(
string identity
)

Parameters

identity string

identity of element.

Return Value

Type: bool

bool true if an element by key is present in Locator.

Meta