+ 23
/^\d+?$/gmi.test(input) <-- number
input==="" <-- empty string
/^\D+?$/gmi.test(input) <-- string
13th Apr 2017, 7:31 AM
Valen.H. ~

Often have questions like this?
Learn more efficiently, for free:
Hot today
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
I need advice
1 Votes
Html 5 document question
1 Votes
Python
0 Votes