Skip to content

Kirby 4.5.0

BlockUuid::is()

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

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

Parameters

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

Return type

bool

Parent class

Kirby\Uuid\BlockUuid inherited from Kirby\Uuid\Uuid