@NullSafe
  public static boolean containsDigits(String value) {

    for (char chr : toCharArray(value)) {
      if (Character.isDigit(chr)) {
        return true;
      }
    }

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

@param value the String value being evaluated for digits containment.
@return a boolean value indicating whether the String value contains any digits.
@see #toCharArray(String)
@see java.lang.Character#isDigit(char)