Skip to content

API documentation of Agoric SDK / Exports / @agoric/zoe / src/contractSupport / TypedMath

Interface: TypedMath<T>

@agoric/zoe.src/contractSupport.TypedMath

Type parameters

Name
T

Table of contents

Properties

Properties

add

add: (a: T, b: T) => T

Type declaration

▸ (a, b): T

Parameters
NameType
aT
bT
Returns

T

Defined in

zoe/src/contractSupport/statistics.js:4


divide

divide: (a: T, b: bigint) => T

Type declaration

▸ (a, b): T

Parameters
NameType
aT
bbigint
Returns

T

Defined in

zoe/src/contractSupport/statistics.js:5


isGTE

isGTE: (a: T, b: T) => boolean

Type declaration

▸ (a, b): boolean

Parameters
NameType
aT
bT
Returns

boolean

Defined in

zoe/src/contractSupport/statistics.js:6