Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Guid

Index

Functions

create

  • create(): string

createFrom

  • createFrom(Value: string): Guid
  • Create a v5 UUID from the given string. The namespace used is a constant UUID specified in the implementation of the Guid class.

    Parameters

    • Value: string

    Returns Guid

fromString

  • fromString(id: string): Guid
  • Create an instance of the GUID class from its string representation.

    In WWT, the input does not need to actually have the standard UUID4 format. You can actually pass this function any string you want! It had really better be globally unique, though, or you're going to run into problems.

    Parameters

    • id: string

    Returns Guid

newGuid

Generated using TypeDoc