Groovy web console

subscribe to the feed Subscribe
to this
site

Untitled

Published 4 weeks ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def falseValue = false

assert (falseValue ?: true) == falseValue: "The elvis operator doesn't just do its thing when the LHS is null, so I'm afraid it's not very useful"