Skip to content

Kirby 5.1.2

PageUuid::is()

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

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