document-has-type

If the document has the given type.

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