[
https://issues.apache.org/jira/browse/TINKERPOP3-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720002#comment-14720002
]
Marko A. Rodriguez commented on TINKERPOP3-818:
-----------------------------------------------
It would not be prudent to make this a "step," but to leverage a
{{P}}-predicate.
{code}
g.V().out().is(type(vertex))
{code}
...where {{P.type()}} is a predicate.
In general, always think about how to parameterize an existing step as opposed
to just increasing the size of the existing step library.
> Consider an instanceOf() Step
> ------------------------------
>
> Key: TINKERPOP3-818
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-818
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.0-incubating
> Reporter: stephen mallette
> Assignee: Marko A. Rodriguez
>
> A step that checks the type of the value passing through the traversal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)