MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / is_number

Function is_number

Source/external/json.hpp:20494–20497  ·  view source on GitHub ↗

@brief return whether value is a number @sa https://json.nlohmann.me/api/basic_json/is_number/

Source from the content-addressed store, hash-verified

20492 /// @brief return whether value is a number
20493 /// @sa https://json.nlohmann.me/api/basic_json/is_number/
20494 constexpr bool is_number() const noexcept
20495 {
20496 return is_number_integer() || is_number_float();
20497 }
20498
20499 /// @brief return whether value is an integer number
20500 /// @sa https://json.nlohmann.me/api/basic_json/is_number_integer/

Callers 1

is_primitiveFunction · 0.85

Calls 2

is_number_integerFunction · 0.85
is_number_floatFunction · 0.85

Tested by

no test coverage detected