Macro libyml::IS_DIGIT

source ·
macro_rules! IS_DIGIT {
    ($string:expr) => { ... };
}
Expand description

Checks if the byte pointed to by the pointer in the given string is a digit (0-9).

§Parameters

  • string: A reference to a struct containing a pointer field pointing to a byte in a string.

§Return value

Returns true if the byte pointed to by the pointer is a digit (0-9), and false otherwise.