code: function makeActionCreator(type, payloadReducer = _.identity, metaReducer) {
      const actionType = completeActionType(type);
      const hasMeta = _.isFunction(metaReducer);
  
      return (...args) => {
        const action = {
          type: actionType,
          payload: payloadReducer(...args),
        };
  
        if (args.length === 1 && args[0] instanceof Error) {
          // Handle FSA errors where the payload is an Error object. Set error.
          action.error = true;
        }
  
        if (hasMeta) {
          action.meta = metaReducer(...args);
        }
  
        return action;
      };
    }
docs: Makes function to create action.
  @param  {string} [type] Action type.
  @param  {function} [payloadReducer] (optional) A function to transform multiple arguments as a unique payload.
  @param {function} [metaCreator] (optional) A function to transform multiple arguments as a unique metadata object.
  @return {function} A function to create action (aka action creator).