and

If ALL of the contained condition blocks evaluate to true.

{
    "evaluator": "and",
    "condition": [block1, block2...]
}

Example

This block, taken from the Configuration docs, adds a custom-download-scan document action only if the document is both a file and also has a scan attachment:

{
    "evaluator": "and",
    "condition": [{
        "evaluator": "document-is-file"
    }, {
        "evaluator": "document-has-attachment",
        "condition": "scan"
    }],
    "config": {
        "document-actions": [{
            "id": "custom-download-scan"
        }]
    }
}

See also