context-document

If a Document (i.e. a content Node) is currently being observed.

{
    "evaluator": "context-document"
}

Example

This block, taken from Customize Translations UI, hides the Edit Translations dropdown on a document's Edit Properties page:

{
    "evaluator": "context-document",
    "config": {
        "document-properties": {
            "showTranslationPicker": false
        }
    }
}

See also