R: Combine two validator objects

+,validator,validator-method {validate} | R Documentation

## Combine two validator objects

### Description

Combine two `validator` objects by addition. A new `validator` object is created with default (global) option values. Previously set options are ignored.

### Usage

    ## S4 method for signature 'validator,validator'
    e1 + e2

### Arguments

`e1` | a `validator`
`e2` | a `validator`

### Note

The `names` of the resulting object are made unique using `make.names`.

### See Also

Other validator-methods: `plot,validator-method`, `validator`

### Examples

    validator(x>0) + validator(x<=1)

[Package validate version 1.1.1 Index]