編集

次の方法で共有


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