Uuid::is()
Checks if a string resembles an UUID URI, optionally of the given type (scheme)
Uuid::is(string $string, ?string $type = null): bool
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
$type | string |null |
null |
Return type
bool