code: function makeActionCreator(type) {
      var payloadReducer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _lodash2.default.identity;
      var metaReducer = arguments[2];
  
      var actionType = completeActionType(type);
      var hasMeta = _lodash2.default.isFunction(metaReducer);
  
      return function () {
        var action = {
          type: actionType,
          payload: payloadReducer.apply(undefined, arguments)
        };
  
        if (arguments.length === 1 && (arguments.length <= 0 ? undefined : arguments[0]) instanceof Error) {
          // Handle FSA errors where the payload is an Error object. Set error.
          action.error = true;
        }
  
        if (hasMeta) {
          action.meta = metaReducer.apply(undefined, arguments);
        }
  
        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).