Liferay.Loader.define("sharing-web$dnd-core@11.1.3/dist/esm/utils/matchesType", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    export function matchesType(targetType, draggedItemType) {
      if (draggedItemType === null) {
        return targetType === null;
      }

      return Array.isArray(targetType) ? targetType.some(function (t) {
        return t === draggedItemType;
      }) : targetType === draggedItemType;
    }
  }
});
//# sourceMappingURL=matchesType.js.map