import { c as callBound$1 } from "../call-bind/callBound.js";
import { s as shams } from "../has-tostringtag/shams.js";
var callBound = callBound$1;
var $numToStr = callBound("Number.prototype.toString");
var tryNumberObject = function tryNumberObject2(value) {
  try {
    $numToStr(value);
    return true;
  } catch (e) {
    return false;
  }
};
var $toString = callBound("Object.prototype.toString");
var numClass = "[object Number]";
var hasToStringTag = shams();
var isNumberObject = function isNumberObject2(value) {
  if (typeof value === "number") {
    return true;
  }
  if (!value || typeof value !== "object") {
    return false;
  }
  return hasToStringTag ? tryNumberObject(value) : $toString(value) === numClass;
};
export {
  isNumberObject as i
};
//# sourceMappingURL=index.js.map
