var $Map = typeof Map === "function" && Map.prototype ? Map : null;
var $Set = typeof Set === "function" && Set.prototype ? Set : null;
var exported;
if (!$Set) {
  exported = function isSet3(x) {
    return false;
  };
}
var $mapHas = $Map ? Map.prototype.has : null;
var $setHas = $Set ? Set.prototype.has : null;
if (!exported && !$setHas) {
  exported = function isSet3(x) {
    return false;
  };
}
var isSet = exported || function isSet2(x) {
  if (!x || typeof x !== "object") {
    return false;
  }
  try {
    $setHas.call(x);
    if ($mapHas) {
      try {
        $mapHas.call(x);
      } catch (e) {
        return true;
      }
    }
    return x instanceof $Set;
  } catch (e) {
  }
  return false;
};
export {
  isSet as i
};
//# sourceMappingURL=index.js.map
