V::maxLength()
Checks if the number of characters in the value equals or is below the given maximum
V::maxLength(string|null $value, mixed $max): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $value | stringornull |
no default value |
| $maxrequired | mixed |
no default value |
Return type
bool