bigSign.js 289 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. Object.defineProperty(exports, "default", {
  6. enumerable: true,
  7. get: function() {
  8. return bigSign;
  9. }
  10. });
  11. function bigSign(bigIntValue) {
  12. return (bigIntValue > 0n) - (bigIntValue < 0n);
  13. }