[ https://issues.apache.org/jira/browse/TINKERPOP-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18022838#comment-18022838 ]
ASF GitHub Bot commented on TINKERPOP-2234: ------------------------------------------- xiazcy commented on code in PR #3211: URL: https://github.com/apache/tinkerpop/pull/3211#discussion_r2379685484 ########## 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: Yea, that's why I didn't have it added here. Sure, I'll start a section. > Introduce Type Predicate > ------------------------ > > Key: TINKERPOP-2234 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2234 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.4.2 > Reporter: Stephen Mallette > Priority: Major > > Provide for a {{typeOf()}} predicate that allows for testing the type of an > object which would enable neat things like: > {code} > g.V().outE().has('weight',gt(0.1)).inV().path().unfold().is(typeOf(VERTEX)) > {code} > See the linked DISCUSS thread for more information. -- This message was sent by Atlassian Jira (v8.20.10#820010)