Skip to content

Kirby 5.1.4

ModelUuid::is()

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

ModelUuid::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\ModelUuid inherited from Kirby\Uuid\Uuid