Human: check if a string is a number Assistant: 
Here is some code to function to check if a string is a number

isdigit()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.