kaven-basic - v6.0.0
    Preparing search index...

    Function GenerateGuid

    • Generates a random GUID (Globally Unique Identifier) in the standard 8-4-4-4-12 hexadecimal format.

      Returns string

      A randomly generated GUID string.

      This function uses Math.random() to generate random values, which may not be suitable for cryptographic purposes. The generated GUID conforms to version 4 UUID format.

      const guid = GenerateGuid();
      console.log(guid); // Example output: '3f2504e0-4f89-41d3-9a0c-0305e82c3301'

      1.0.0

      1.0.5