Skip to content

Kirby 5.1.2

StructureUuid::is()

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

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