UUID.parse

Tries to parse a UUID from a string.

struct UUID
@nogc nothrow static
parse
(
string slice
)

Parameters

slice string

The string slice to parse.

Return Value

Type: UUID

A new UUID parsed from the string, or a nil UUID on failure.

Meta