V::match()
Checks if the value matches the given regular expression
V::match(mixed $value, string $pattern): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | mixed |
no default value |
| $patternrequired | string |
no default value |
Return type
bool