all_numbers()

all_numbers()#

Check if a string contains only numeric characters.

Prototype

PUBLIC BOOL all_numbers(
    const char  *string
);
        

Parameters

Key

Type

Description

string

const char *

The string to check.


Return Value

Returns TRUE if the string contains only numeric characters, otherwise returns FALSE.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples