Helpful
    Preparing search index...

    Variable createGuidConst

    createGuid: () => string = v4

    Creates a globally unique identifier.

    The identifier holds to v4 of the UUID specification. A summary of the specification can be found at Apache Commons UUID Documentation.

    The official documentation of the UUID specification is under RFC 4122

    Type Declaration

      • (): string
      • Returns string

        A new generated globally unique identifier based on random bytes.

    // Will get a value similar to 53e33fb6-d05a-4fa9-8dc0-b78e4feaa702
    const guidA = createGuid();
    // Will most likely not ever be equal to guidA
    const guidB = createGuid();