Skip to content

Kirby 4.4.1

FieldUuid::is()

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

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

Parameters

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

Return type

bool

Parent class

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