Step - constant

constant ยท category: Values and properties

Replaces every incoming value with the given constant.

Forms

constant(arg1: any)

Example

g.v().has_label("software").constant("app").to_list()   // ["app", "app"]