Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2234

Introduce Type Predicate

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.2
    • Fix Version/s: None
    • Component/s: process
    • Labels:
      None

      Description

      Provide for a typeOf() predicate that allows for testing the type of an object which would enable neat things like:

      g.V().outE().has('weight',gt(0.1)).inV().path().unfold().is(typeOf(VERTEX))
      

      See the linked DISCUSS thread for more information.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                spmallette Stephen Mallette
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: