"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isMetricsOnlyFunnel = void 0;
// A funnel without dimensions takes its stages from the metric columns of a
// single-row result, so it needs at least two metrics to form a funnel.
const isMetricsOnlyFunnel = (metricQuery) => metricQuery.dimensions.length === 0 && metricQuery.metrics.length >= 2;
exports.isMetricsOnlyFunnel = isMetricsOnlyFunnel;
//# sourceMappingURL=isMetricsOnlyFunnel.js.map