IsDigit (Version 2)
Note
There is no class here for once 👀
from PythonFunctions.IsDigit import IsDigit
IsDigit
- IsDigit.IsDigit(var)
NOTE: by digit, we include both negative and positive numbers. A float is also included
- Parameters
var (str) – The input to check for digit
- Returns
Is it a digit
- Return type
bool
- Raises
AttributeError – None was passed in.