Compares two Big numbers and returns a CompareResult indicating the relation between them.
The first Big number to compare.
The second Big number to compare.
compareBig(new Big(1), new Big(2)); // -1compareBig(new Big(2), new Big(1)); // 1compareBig(new Big(1), new Big(1)); // 0 Copy
compareBig(new Big(1), new Big(2)); // -1compareBig(new Big(2), new Big(1)); // 1compareBig(new Big(1), new Big(1)); // 0
Generated using TypeDoc
Compares two Big numbers and returns a CompareResult indicating the relation between them.