MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / is_number_integer

Function is_number_integer

native/thirdpart/json/json.hpp:16772–16775  ·  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

16770 @since version 1.0.0
16771 */
16772 constexpr bool is_number_integer() const noexcept
16773 {
16774 return m_type == value_t::number_integer or m_type == value_t::number_unsigned;
16775 }
16776
16777 /*!
16778 @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