function featureCollection(features, options) {
    if (options === void 0) { options = {}; }
    var fc = { type: "FeatureCollection" };
    if (options.id) {
        fc.id = options.id;
    }
    if (options.bbox) {
        fc.bbox = options.bbox;
    }
    fc.features = features;
    return fc;
}
Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}.

@name featureCollection
@param {Feature[]} features input features
@param {Object} [options={}] Optional Parameters
@param {Array<number>} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature
@param {string|number} [options.id] Identifier associated with the Feature
@returns {FeatureCollection} FeatureCollection of Features
@example
var locationA = turf.point([-75.343, 39.984], {name: 'Location A'});
var locationB = turf.point([-75.833, 39.284], {name: 'Location B'});
var locationC = turf.point([-75.534, 39.123], {name: 'Location C'});

var collection = turf.featureCollection([
  locationA,
  locationB,
  locationC
]);

//=collection