1# Not
2
3- `v::not(v $negatedValidator)`
4
5Negates any rule.
6
7```php
8v::not(v::ip())->validate('foo'); // true
9```
10
11In the sample above, validator returns true because 'foo' isn't an IP Address.
12
13You can negate complex, grouped or chained validators as well:
14
15```php
16v::not(v::intVal()->positive())->validate(-1.5); // true
17```
18
19Each other validation has custom messages for negated rules.
20
21***
22See also:
23
24  * [NoneOf](NoneOf.md)
25