code: function optionsActionCreator(type) {
    var props = Array.isArray(arguments[1]) ? arguments[1] : slice.call(arguments, 1)
    return function(options) {
      var copyProps = props.length === 0 ? Object.keys(options) : props
      return copyProps.reduce(function(action, prop) {
        return (action[prop] = options[prop], action)
      }, {type: type})
    }
  }
docs: Creates an action creator for the given action type which also takes an
  options object argument, which will either have all of its properties
  or only specified properties added to the action object.
  
  Property names can be specified as an Array of strings or as any number of
  addiitonal String arguments.