Skip to content

Kirby 5.1.1

uuid

Checks for a valid Uuid, optionally for specific model type

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

Parameters

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

Return type

bool