utils.uuid

This function generates a random UUID according to the RFC 4122 standard.

Syntax

utils.uuid()

Arguments

None

Returns

Type

Description

string

UUID of 36 characters displayed in the form of 8-4-4-4-12.

Examples

The function utils.uuid() returns 245056b5-0d11-47aa-b564-fbbf3c6e044a.