Groovy web console

subscribe to the feed Subscribe
to this
site

ContainsKeyOnNullValue

Published 2 months ago by MAQ
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def aMap = [:]
aMap.state = null
if (aMap.containsKey('state')){
    "A"
}