isNegative function

bool isNegative(
  1. Uint8List bignum
)

Is bignum a negative number?

Implementation

bool isNegative(Uint8List bignum) {
  return (bignum[bignum.length - 1] & 0x80) != 0;
}