Skip to content

Kirby 4.2.0

StructureUuid::is()

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

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

Parameters

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

Return type

bool

Parent class

Kirby\Uuid\StructureUuid inherited from Kirby\Uuid\Uuid