import * as serverData from "../../foundation/json-parsing/server-data";
/**
 * Returns the current treatment for editorial collections based on the meta blob.
 * @param meta Meta blob in initial response.
 */
export function currentEditorialCollectionTreatment(objectGraph, meta) {
    const showGridCard = serverData.asBooleanOrFalse(meta, "experiments.showGridCard");
    return showGridCard ? 0 /* EditorialCollectionExperimentType.Card */ : 1 /* EditorialCollectionExperimentType.Swoosh */;
}
//# sourceMappingURL=search-results-experiments.js.map