gremlin.scala
Define the traversal to run if the given predicate is true - used in branch step
you might think that traversal should be GremlinScala[End, _] => GremlinScala[Boolean, _], but that's not how tp3 works: e.g. .value(Age).is(30) returns 30, not true
GremlinScala[End, _] => GremlinScala[Boolean, _]
.value(Age).is(30)
30
true
Define the traversal to run if the given predicate is true - used in branch step
you might think that traversal should be
GremlinScala[End, _] => GremlinScala[Boolean, _]
, but that's not how tp3 works: e.g..value(Age).is(30)
returns30
, nottrue