greenServeFE logogreenServeFELanguage, VM and Native Module Reference

Documentation home / Native Module API

Native Module API

UUID Helper

Generate a UUID-shaped version-4 identifier string.

Purpose

Generate a UUID-shaped version-4 identifier string.

Exported API

ExportRole
v4v4 native function or exported value

Usage example

import gs_uuid;
print(gs_uuid.v4());
The current source uses the C library pseudo-random generator. Do not treat this helper as a cryptographically secure UUID generator.

Related documentation