"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("../is-map/index.cjs");
const index$1 = require("../is-set/index.cjs");
const index$2 = require("../is-weakmap/index.cjs");
const index$3 = require("../is-weakset/index.cjs");
var isMap = index.isMap;
var isSet = index$1.isSet;
var isWeakMap = index$2.isWeakmap;
var isWeakSet = index$3.isWeaksetExports;
var whichCollection = function whichCollection2(value) {
  if (value && typeof value === "object") {
    if (isMap(value)) {
      return "Map";
    }
    if (isSet(value)) {
      return "Set";
    }
    if (isWeakMap(value)) {
      return "WeakMap";
    }
    if (isWeakSet(value)) {
      return "WeakSet";
    }
  }
  return false;
};
exports.whichCollection = whichCollection;
//# sourceMappingURL=index.cjs.map
