Skip to content

Kirby 4.2.0

SiteUuid::is()

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

SiteUuid::is(string $string, ?string $type = null): bool

Parameters

Name Type Default
$string * string
$type string|null null

Return type

bool

Parent class

Kirby\Uuid\SiteUuid inherited from Kirby\Uuid\Uuid