operator | method
- IValidator other
Combines two validators with a logical OR, same as using any
This is Sugar, it allows for more concise validator composition.
Implementation
IValidator operator |(IValidator other) => any([this, other]);
Combines two validators with a logical OR, same as using any
This is Sugar, it allows for more concise validator composition.
IValidator operator |(IValidator other) => any([this, other]);