You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by Yang Xia <xi...@gmail.com> on 2025/09/11 19:31:30 UTC
[DISCUSS] Adding type predicate in 3.8 [TINKERPOP-2234]
Hi all,
As a follow up to a previous devlist discussion on type predicate (https://lists.apache.org/thread/6qjfq40y1y58kbzp9vmolk9bc1r9mrq2). I'd like to propose that we create P.typeOf(token) for testing types, where the token can be a type enum (for core gremlin types), a string (to help provider extension), or a java class (for syntax sugar in java/groovy).
For the full details, please see the proposal PR (https://github.com/apache/tinkerpop/pull/3207), and feel free to add comments/suggestions.
Thanks,
Yang