MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / is_number_integer

Function is_number_integer

lesson6-Segmentation/json.hpp:18973–18976  ·  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

18971 @since version 1.0.0
18972 */
18973 constexpr bool is_number_integer() const noexcept
18974 {
18975 return m_type == value_t::number_integer || m_type == value_t::number_unsigned;
18976 }
18977
18978 /*!
18979 @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