Step - filter

filter ยท category: Filters

Keeps the traverser when the child traversal yields a result (or the predicate matches).

Forms

filter(arg1: any)

Example

g.v().filter(__.out_e("created")).values("name").to_list()   // ["marko", "josh", "peter"]