Groovy web console

subscribe to the feed Subscribe
to this
site

FindInMap

Published 2 months ago by Guineitor with tags map slice parse
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Map data = ["data":"merchantName", "data2":"adsdas", decisionReasons: [        "aaaa",
        "bbbb"

      ]]


print(data?.decisionReasons.find {it.contains("b")})