Step - median

median ยท category: Aggregation

Yields the median of the numbers in the stream.

Forms

median()

Example

g.v().values("age").median().next()   // 30.5