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