Step - constant
constant ยท category: Values and properties
Replaces every incoming value with the given constant, a value: a traversal is refused (map(traversal) replaces each value with the traversal's first result).
Forms
constant(arg1: any)
Example
g.v().has_label("software").constant("app").to_list() // ["app", "app"]