Skip to content

avg

Signature

avg(array[number])

Description

Returns the average of the elements in the provided array. An empty array will produce a return value of null.

Examples

avg([`10`,`15`,`20`]) == `15`