Returns whether the string contains only digit characters (0-9).
Example:
assert (Strings.isNumeric ("12345") == true);
assert (Strings.isNumeric ("12.3") == false);
assert (Strings.isNumeric ("") == false);
| s |
string for checking. |
|
true if string is non-empty and all characters are digits. |