docs: function getAlternateTypes(method) {
            var types = [];
  
            function process(arr) {
              if (arr) {
                arr.forEach(function(obj) {
                  if (obj.type) {
                    var split = obj.type.split('|');
                    if (split.length > 1) {
                      types = types.concat(split);
                    }
                  }
                });
              }
            }
  
            process(method.params);
            process(method.options);
  
            return types;
          }