Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-656

Make Stellar 'in' closer to functioning like python

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.3.1
    • None

    Description

      We have an 'in' operator in stellar, but it could be much better. This should bring it at parity with the 'in' operator in python

      • in should support string contains e.g. 'foo' in 'foobar'
      • in should support Collection contains e.g. 'foo' in [ 'foo', 'bar' ]. Legacy was to only support lists
      • in should support map contains e.g. 'foo' in { 'foo' : 5 }

      Attachments

        Issue Links

          Activity

            People

              cestella Casey Stella
              cestella Casey Stella
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: