code: function featureDataToGeoJson(featureData) {
    if (!defined(featureData)) {
      return undefined;
    }
  
    for (var i = 0; i < featureDataToGeoJson.supportedFormats.length; ++i) {
      var converted = featureDataToGeoJson.supportedFormats[i].converter(
        featureData
      );
      if (defined(converted)) {
        return converted;
      }
    }
    return undefined;
  }
docs: Converts feature data, such as from a WMS GetFeatureInfo or an Esri Identify, to
  GeoJSON.  The set of feature data formats supported by this function can be extended
  by adding to {@link featureDataToGeoJson#supportedFormats}.
  
  @param {Object} featureData The feature data to convert to GeoJSON.
  @return {Object} The GeoJSON representation of this feature data, or undefined if it cannot be converted to GeoJSON.