Add is.numericString() (#67)

This commit is contained in:
Itai Steinherz 2018-11-01 13:21:49 +02:00 committed by Sindre Sorhus
parent 9ac56f1be7
commit 7317226c80
3 changed files with 23 additions and 2 deletions

View file

@ -96,6 +96,10 @@ All the below methods accept a value and returns a boolean for whether the value
Keep in mind that [functions are objects too](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions).
##### .numericString(value)
Returns `true` for a string that represents a number. For example, `'42'` and `'-8'`.
##### .regExp(value)
##### .date(value)
##### .error(value)