Return true if the specified value is a valid integral JSON number.

Synopsis

Declared in <bdljsn_numberutil.h>

static
bool
isIntegralNumber(std::string_view const& value);

Description

Note that this function may return true even if value cannot be represented in a fundamental integral type. The behavior is undefined unless isValidNumber(value) is true.

Return Value

true if value is a valid integral JSON number, and false otherwise

Parameters

Name

Description

value

JSON number text to inspect

Created with MrDocs