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

Function is_array

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

20231 @since version 1.0.0
20232 */
20233 constexpr bool is_array() const noexcept
20234 {
20235 return m_type == value_t::array;
20236 }
20237
20238 /*!
20239 @brief return whether value is a string

Callers 9

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

Calls

no outgoing calls

Tested by

no test coverage detected