Is null or empty check in Groovy
if (!someString?.trim()) { | |
logger.lifecycle("the string is null or empty.") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if (!someString?.trim()) { | |
logger.lifecycle("the string is null or empty.") | |
} |