FunctionsmeanVersion: NextOn this pagemeanComputes the mean of all grouped values.mean(xs:list) -> floatDescriptionThe mean function returns the average of all numeric values in xs.xs: listThe values to average.ExamplesCompute the mean valuefrom [ {x: 1}, {x: 2}, {x: 3}, ] summarize avg=mean(x){avg: 2.0}See Alsomedian, sum