spmallette commented on code in PR #3211:
URL: https://github.com/apache/tinkerpop/pull/3211#discussion_r2378832526


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -5496,6 +5496,8 @@ TinkerPop 3.6.0 release that allow working with regular 
expressions. These are `
 | `P.between(number,number)` | Is the incoming number greater than or equal to 
the first provided number and less than the second?
 | `P.within(objects...)` | Is the incoming object in the array of provided 
objects?
 | `P.without(objects...)` | Is the incoming object not in the array of the 
provided objects?
+| `P.typeOf(GType)` | Is the incoming object of the type indicated by the 
provided `GType` token?
+| `P.typeOf(string)` | Is the incoming object of the type indicated by the 
provided `String`?

Review Comment:
   i realized that `P.typeOf(Class)` is sugar syntax so i guess it makes sense 
not to include that here. Not sure how we want to start better documenting the 
difference between the canonical grammar and the variants. I think that as of 
right now the "Differences" section is the best place to do that. Java doesn't 
have such a section yet, but I think this point could be a start of one. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to