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

Function is_number_float

Source/Utils/json.hpp:19028–19031  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

19026 @since version 1.0.0
19027 */
19028 constexpr bool is_number_float() const noexcept
19029 {
19030 return m_type == value_t::number_float;
19031 }
19032
19033 /*!
19034 @brief return whether value is an object

Callers 2

is_numberFunction · 0.85
get_impl_ptrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected