Editar

Compartir a través de


GuidGenerator class

Methods

generateGuid()

RFC4122: The version 4 UUID is meant for generating UUIDs from truly-random or pseudo-random numbers. uuidv4 generates guids from cryprtographically-string random

isGuid(string)

verifies if a string is GUID

Method Details

generateGuid()

RFC4122: The version 4 UUID is meant for generating UUIDs from truly-random or pseudo-random numbers. uuidv4 generates guids from cryprtographically-string random

function generateGuid(): string

Returns

string

isGuid(string)

verifies if a string is GUID

function isGuid(guid: string): boolean

Parameters

guid

string

Returns

boolean