Home Reference Source
public class | source

Utils

You can directly use an instance of this class. utils

Member Summary

Public Members
public get

isWin: *

Method Summary

Public Methods
public

divideBigIntegers(divident: *, divisor: *): number

Divides 2 big integers

public

getLocation(href: *): *

public

makeQuerablePromise(promise: *): *

public

maxBigNumber(a: *, b: *): *

public

minBigNumber(a: *, b: *): *

public

sleep(ms: *): *

public

validateUrl(value: *): *

Public Members

public get isWin: * source

Public Methods

public divideBigIntegers(divident: *, divisor: *): number source

Divides 2 big integers

Params:

NameTypeAttributeDescription
divident *

is BigInteger

divisor *

is BigInteger

Return:

number

public getLocation(href: *): * source

Params:

NameTypeAttributeDescription
href *

Return:

*

public makeQuerablePromise(promise: *): * source

Params:

NameTypeAttributeDescription
promise *

Return:

*

public maxBigNumber(a: *, b: *): * source

Params:

NameTypeAttributeDescription
a *
b *

Return:

*

public minBigNumber(a: *, b: *): * source

Params:

NameTypeAttributeDescription
a *
b *

Return:

*

public sleep(ms: *): * source

Params:

NameTypeAttributeDescription
ms *

Return:

*

public validateUrl(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*