Skip to content

Kirby 5.0.4

FileUuid::is()

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

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