Skip to content

@liquality.utils.Math

Krasimir Raykov edited this page Mar 30, 2022 · 3 revisions

Namespace: Math

@liquality/utils.Math

Table of contents

Functions

Functions

add

add(a, b): BigNumber

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

BigNumber

Defined in

utils/lib/math.ts:3


div

div(a, b): BigNumber

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

BigNumber

Defined in

utils/lib/math.ts:15


eq

eq(a, b): boolean

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

boolean

Defined in

utils/lib/math.ts:19


gte

gte(a, b): boolean

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

boolean

Defined in

utils/lib/math.ts:31


lt

lt(a, b): boolean

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

boolean

Defined in

utils/lib/math.ts:27


lte

lte(a, b): boolean

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

boolean

Defined in

utils/lib/math.ts:23


mul

mul(a, b): BigNumber

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

BigNumber

Defined in

utils/lib/math.ts:11


sub

sub(a, b): BigNumber

Parameters

Name Type
a BigNumberish
b BigNumberish

Returns

BigNumber

Defined in

utils/lib/math.ts:7

Clone this wiki locally