- 
      
 - 
        
Save nickname55/28a5e8447aec8fa5994e5fd2daa80a70 to your computer and use it in GitHub Desktop.  
    Is null or empty check in Groovy
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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