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

Function is_array

core/src/json.hpp:18973–18976  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

18971 @since version 1.0.0
18972 */
18973 constexpr bool is_array() const noexcept
18974 {
18975 return m_type == value_t::array;
18976 }
18977
18978 /*!
18979 @brief return whether value is a string

Callers 9

is_structuredFunction · 0.85
get_impl_ptrFunction · 0.85
atFunction · 0.85
operator[]Function · 0.85
eraseFunction · 0.85
push_backFunction · 0.85
emplace_backFunction · 0.85
insertFunction · 0.85
swapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected