context-document-has-qname

If a Document is currently being observed and has a specific Type.

{
    "evaluator": "context-document-has-type",
    "condition": "{type}"
}

Example:

{
    "evaluator": "context-document-has-type",
    "condition": "my:article"
}