import { BigNumber } from "https://deno.land/x/web3@v0.11.1/types/bignumber.d.ts";
Returns true
if the value of this BigNumber is a finite number, otherwise returns false
.
The only possible non-finite values of a BigNumber are NaN
, Infinity
and -Infinity
.
x = new BigNumber(1)
x.isFinite() // true
y = new BigNumber(Infinity)
y.isFinite() // false