tchmi_create_guid

[ Function ]

function tchmi_create_guid(): string;

Creates a GUID (globally unique identifier) string. This function should be used if resources are to be generated dynamically and a name collision is to be avoided.

Parameter

Name

Type

Description

 

 

 

Return value

Type

Description

string

Created GUID

tchmi_create_guid 1:

Available from 1.8

Sample - JavaScript

var myGuid = tchmi_create_guid(); // for example the string "8e93cbea-4715-4011-84bd-566c5965c741"