Step - limit
limit ยท category: Filters
Passes on only the first n traversers; with Scope.local the first n elements of each collection.
Forms
limit(arg1: i64)
limit(arg1: Scope, arg2: i64)
Example
g.v().values("name").limit(2).to_list() // ["marko", "vadas"]