diff options
Diffstat (limited to 'string-tick.h')
-rw-r--r-- | string-tick.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/string-tick.h b/string-tick.h index c360eba124a1..9825fd055ad4 100644 --- a/string-tick.h +++ b/string-tick.h @@ -111,4 +111,11 @@ void pointer_alloc_check(void* alloced); */ int is_string_json_array(const String* pString); +/** + * Returns 1 if the string contains only digits or 0 otherwise + * @param string char* + * @return 1 is number, 0 if not + */ +int is_str_number(const char* string); + #endif
\ No newline at end of file |