Step - max

max ยท category: Aggregation

Yields the largest value of the stream (Scope.local: of each collection; see the book page Local Scope).

Forms

max()
max(arg1: Scope)

Example

g.v().values("age").max().next()   // 35