UUID.validate

Validates the correctness of a UUID string.

struct UUID
@nogc nothrow static
bool
validate
(
string slice
)

Parameters

slice string

The string slice to validate

Return Value

Type: bool

true if the slice is a valid UUID string, false otherwise.

Meta