match
Checks if the value matches the given regular expression
Parameters
Name | Type | Default |
---|---|---|
$value * | mixed |
– |
$pattern * | string |
– |
Return type
bool
Checks if the value matches the given regular expression
Name | Type | Default |
---|---|---|
$value * | mixed |
– |
$pattern * | string |
– |
bool