MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / is_number_integer

Function is_number_integer

3rd/nlohmann_json/include/nlohmann/json.hpp:2632–2635  ·  view source on GitHub ↗

! @brief return whether value is an integer number This function returns true if and only if the JSON value is a signed or unsigned integer number. This excludes floating-point values. @return `true` if type is an integer or unsigned integer number, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws ex

Source from the content-addressed store, hash-verified

2630 @since version 1.0.0
2631 */
2632 constexpr bool is_number_integer() const noexcept
2633 {
2634 return m_type == value_t::number_integer || m_type == value_t::number_unsigned;
2635 }
2636
2637 /*!
2638 @brief return whether value is an unsigned integer number

Callers 2

is_numberFunction · 0.70
get_impl_ptrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected