Skip to content

Kirby 5.0.2

FieldUuid::is()

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

FieldUuid::is(string $string, string|null $type = null): bool

Parameters

Name Type Default
$stringrequired string no default value
$type stringornull null

Return type

bool

Parent class

Kirby\Uuid\FieldUuid inherited from Kirby\Uuid\Uuid