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

Function is_binary

3rd/nlohmann_json/single_include/nlohmann/json.hpp:20277–20280  ·  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

20275 @since version 3.8.0
20276 */
20277 constexpr bool is_binary() const noexcept
20278 {
20279 return m_type == value_t::binary;
20280 }
20281
20282 /*!
20283 @brief return whether value is discarded

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected