"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index$1 = require("../../_virtual/index13.cjs");
const index = require("../has-bigints/index.cjs");
var hasBigInts = index.hasBigints();
if (hasBigInts) {
  var bigIntValueOf = BigInt.prototype.valueOf;
  var tryBigInt = function tryBigIntObject(value) {
    try {
      bigIntValueOf.call(value);
      return true;
    } catch (e) {
    }
    return false;
  };
  index$1.__module.exports = function isBigInt(value) {
    if (value === null || typeof value === "undefined" || typeof value === "boolean" || typeof value === "string" || typeof value === "number" || typeof value === "symbol" || typeof value === "function") {
      return false;
    }
    if (typeof value === "bigint") {
      return true;
    }
    return tryBigInt(value);
  };
} else {
  index$1.__module.exports = function isBigInt(value) {
    return false;
  };
}
var isBigintExports = index$1.__module.exports;
exports.isBigintExports = isBigintExports;
//# sourceMappingURL=index.cjs.map
