MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / is_number_integer

Function is_number_integer

Source/Utils/json.hpp:18972–18975  ·  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

Source from the content-addressed store, hash-verified

18970 @since version 1.0.0
18971 */
18972 constexpr bool is_number_integer() const noexcept
18973 {
18974 return m_type == value_t::number_integer || m_type == value_t::number_unsigned;
18975 }
18976
18977 /*!
18978 @brief return whether value is an unsigned integer number

Callers 2

is_numberFunction · 0.85
get_impl_ptrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected