@Age()
New in 2.0Since 2.0.0
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| min | — | — | ||
| max | — | — |
Usage
@Age()Example:
@String()
Output:
60@Age(arg0,arg1)Example:
@String(1,50)
Output:
25| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| min | — | — | ||
| max | — | — |
@Age()@String()
60@Age(arg0,arg1)@String(1,50)
25