Skip to content

Kirby 5.1.3

Uuid::is()

Checks if a string resembles an UUID URI, optionally of the given type (scheme)

Uuid::is(string $string, array|string|null $type = null): bool

Parameters

Name Type Default
$stringrequired string no default value
$type arrayorstringornull null

Return type

bool

Parent class

Kirby\Uuid\Uuid