xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_number() [2/2]

template<typename type_t >
static bool xtd::box_char< type_t >::is_number ( const string s,
size_t  index 
)
inlinestatic

Indicates whether the character at the specified position in a specified string is categorized as a number.

Parameters
sA string.
indexThe position of the character to evaluate in s.
Returns
true if the character at position index in s is a number; otherwise, false.
Exceptions
xtd::argument_out_of_range_exceptionindex is greater than the last position in s.