"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
const hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
const toStr = Object.prototype.toString;

const isArguments = // $FlowDisableAny
value => {
  if (hasToStringTag && value && typeof value === 'object' && Boolean(value[Symbol.toStringTag])) {
    return false;
  }

  return toStr.call(value) === '[object Arguments]';
};

var _default = isArguments;
exports.default = _default;