MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / is_number

Function is_number

extern/json/json.hpp:20538–20541  ·  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

20536 /// @brief return whether value is a number
20537 /// @sa https://json.nlohmann.me/api/basic_json/is_number/
20538 constexpr bool is_number() const noexcept
20539 {
20540 return is_number_integer() || is_number_float();
20541 }
20542
20543 /// @brief return whether value is an integer number
20544 /// @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