The OpenD Programming Language

UUID.variant

RFC 4122 defines different internal data layouts for UUIDs. Returns the format used by this UUID.

Note: Do not confuse this with std._variant._Variant. The type of this property is $(MYREF3 std.uuid.UUID.Variant, _Variant).

struct UUID
@safe pure nothrow @nogc @property const
variant
()

Examples

assert(UUID("8ab3060e-2cba-4f23-b74c-b52db3bdfb46").variant
   == UUID.Variant.rfc4122);

See Also

$(MYREF3 UUID.Variant, Variant)

Meta