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