Skip to content

Kirby 5.0.4

uuid

Checks for a valid Uuid, optionally for specific model type

V::uuid(string $value, string|null $type = null): bool

Parameters

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

Return type

bool