whole_func_string: function removeGroup(state, action) {
    const groups = state.metadata ? Object.assign({}, state.metadata[GROUPS_KEY]) : {};
    delete groups[action.id];
    const metadata = {};
    metadata[GROUPS_KEY] = groups;
    return Object.assign({}, state, {
      metadata: Object.assign({}, state.metadata, metadata),
    });
  }
func_code_string: function removeGroup(state, action) {
    const groups = state.metadata ? Object.assign({}, state.metadata[GROUPS_KEY]) : {};
    delete groups[action.id];
    const metadata = {};
    metadata[GROUPS_KEY] = groups;
    return Object.assign({}, state, {
      metadata: Object.assign({}, state.metadata, metadata),
    });
  }
func_documentation_string: Remove a group from the map's metadata section.
  @param {Object} state The redux state.
  @param {Object} action The action object.
  
  @returns {Object} The new state object.