Expr.isAggregate

bool isAggregate() const @safe pure nothrow

Whether the tree holds an aggregation outside an over wrapper: a length-1 reduction. Row-wise plan operations reject such expressions, and they may only combine with scalars or other aggregates.