method BigNumber.prototype.negatedimport { BigNumber } from "https://deno.land/x/web3@v0.11.1/types/bignumber.d.ts"; negated(): BigNumberReturns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by -1. Returns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by -1. x = new BigNumber(1.8) x.negated() // '-1.8' y = new BigNumber(-1.3) y.negated() // '1.3' ReturnsBigNumber