Skip to content

kumo.uuid.parse(UUID)

Since: Version 2024.09.02-c5476b89

The functionality described in this section requires version 2024.09.02-c5476b89 of KumoMTA, or a more recent version.

Parses a UUID from a string and into a UUID object.

local u = kumo.uuid.parse '{69994630-3e27-11ef-91fc-cc28aa0a5c5a}'
assert(u.hyphenated == '69994630-3e27-11ef-91fc-cc28aa0a5c5a')

See The UUID Object for more information about the returned UUID object.