code: function performPayloadValidation(actionType, actionPayload) {
    var accept = function accept() {
      return { type: 'accept' };
    },
        reject = function reject() {
      var msg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
      return { type: 'reject', payload: msg };
    },
        store = this,
        validator = store.slimRedux.changeTriggers[actionType].payloadValidation;
  
    // If payloadValidation() function was registered for this change trigger: Perform validation, otherwise just return 'accept'
    if (validator) return validator(actionPayload, accept, reject);else return { type: 'accept' };
  }
docs: /*
  (INTERNAL) Performs the payload validation when a change trigger function is called
  for which a payload validation function was provided.