Groovy web console

subscribe to the feed Subscribe
to this
site

ConditionalTruth

Published 2 months ago by frankinfo with tags groovySlack
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Boolean returnsFalse() {
    return false;
}

// println returnsFalse()

if (!returnsFalse()) {
    println 'This will be shown since !returnsFalse() yields true'
}