nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ is_number()

static bool is_number ( char chr)
inlinestatic

#include <lib/at_cmd_parser/at_utils.h>

Check if character is a number character (including + and -)

Detect number characters in an AT string, including the + and - sign

Parameters
[in]chrCharacter that should be examined
Return values
trueIf character is number character
falseIf character is something else