MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / is_binary

Function is_binary

core/src/json.hpp:19017–19020  ·  view source on GitHub ↗

! @brief return whether value is a binary array This function returns true if and only if the JSON value is a binary array. @return `true` if type is binary array, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_binary()` for all JSON type

Source from the content-addressed store, hash-verified

19015 @since version 3.8.0
19016 */
19017 constexpr bool is_binary() const noexcept
19018 {
19019 return m_type == value_t::binary;
19020 }
19021
19022 /*!
19023 @brief return whether value is discarded

Callers 5

is_primitiveFunction · 0.85
get_impl_ptrFunction · 0.85
json.hppFile · 0.85
eraseFunction · 0.85
swapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected