편집

다음을 통해 공유


GuidGenerator class

Constructors

GuidGenerator(BrowserCrypto)

Methods

generateGuid()
isGuid(string)

verifies if a string is GUID

Constructor Details

GuidGenerator(BrowserCrypto)

new GuidGenerator(cryptoObj: BrowserCrypto)

Parameters

cryptoObj
BrowserCrypto

Method Details

generateGuid()

function generateGuid(): string

Returns

string

isGuid(string)

verifies if a string is GUID

function isGuid(guid: string): boolean

Parameters

guid

string

Returns

boolean