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

Function is_binary

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

19115 @since version 3.8.0
19116 */
19117 constexpr bool is_binary() const noexcept
19118 {
19119 return m_type == value_t::binary;
19120 }
19121
19122 /*!
19123 @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