1# Callback
2
3- `v::callback(callable $callback)`
4
5This is a wildcard validator, it uses a function name, method or closure
6to validate something:
7
8```php
9v::callback('is_int')->validate(10); // true
10```
11
12(Please note that this is a sample, the `v::intVal()` validator is much better).
13
14As in `v::call()`, you can pass a method or closure to it.
15
16***
17See also:
18
19  * [Call](Call.md)
20  * [CallableType](CallableType.md)
21  * [FilterVar](FilterVar.md)
22