UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

9 lines (8 loc) 369 B
import ConvertableBigInteger from "../bigInteger/ConvertableBigInteger"; import QuantityInterface from "../quantity/QuantityInterface"; export declare type GreaterThan = { (a: ConvertableBigInteger, b: ConvertableBigInteger): boolean; (a: QuantityInterface, b: QuantityInterface): boolean; }; declare const greaterThan: GreaterThan; export default greaterThan;