Check whether string is null or empty.
Example:
assert (Strings.isNullOrEmpty (null) == true);
assert (Strings.isNullOrEmpty ("") == true);
assert (Strings.isNullOrEmpty ("hello") == false);
| str |
string for checking. |
|
true if string is null or empty, false otherwise. |