utils.string.isNumeric
isNumeric(str: string) → {boolean}
returns true if the given string contains a numeric integer or float value
Name | Type | Description |
---|---|---|
str | string |
the string to be tested |
Type | Description |
---|---|
boolean |
true if string contains only digits |