@ NullSafe public static boolean containsWhitespace ( String value ) { for ( char chr : toCharArray ( value ) ) { if ( Character . isWhitespace ( chr ) ) { return true ; } } return false ; }
Determines whether the String value contains any whitespace guarding against null values .