Not
- Not(rule: AbstractRule)
Negates any rule.
In the sample above, validator returns true because 'foo' isn't an IP Address.
You can negate complex, grouped or chained validators as well:
Each other validation has custom messages for negated rules.
Categorization
- Conditions
- Nesting
Changelog
| Version | Description | 
|---|---|
| 1.0.0 | Created | 
See also: