# uuid

Checks for a valid Uuid, optionally for specific model type

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Toolkit/V.php#L642>

****

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

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$value` (required) | `string` | – | – |
| `$type` | `array`, `string` or `null` | `null` | – |

## Return type

`bool`