code: function handlePathObj(path, event, EventObject, newIndex) {
    if (typeof path === 'function') {
      return path(event, newIndex);
    } else if ((typeof path === 'undefined' ? 'undefined' : _typeof(path)) === 'object' && !Array.isArray(path) && path) {
      return EventObject.reduce((0, _helpers.matchAndAddition)(path, event), {});
    } else if ((typeof path === 'undefined' ? 'undefined' : _typeof(path)) === 'object' && Array.isArray(path) && path) {
      return EventObject.reduce((0, _helpers.matchAndAddition)(path[newIndex], event), {});
    }
    return {};
  }
docs: Fire path callback function if its defined otherwise take the path
  object/array and return it as an increment
  
  @param {Function} path
  @param {Event} event