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

Function is_number_float

3rd/nlohmann_json/include/nlohmann/json.hpp:2688–2691  ·  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 throws exceptions.

Source from the content-addressed store, hash-verified

2686 @since version 1.0.0
2687 */
2688 constexpr bool is_number_float() const noexcept
2689 {
2690 return m_type == value_t::number_float;
2691 }
2692
2693 /*!
2694 @brief return whether value is an object

Callers 2

is_numberFunction · 0.70
get_impl_ptrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected