MCPcopy Create free account
hub / github.com/boostorg/json / is_array

Method is_array

include/boost/json/value.hpp:1187–1191  ·  view source on GitHub ↗

Check if this is an @ref array. Returns `true` if the value's @ref kind() is `kind::array`. @returns `this->kind() == kind::array`. @par Complexity Constant. @par Exception Safety No-throw guarantee. */

Source from the content-addressed store, hash-verified

1185 No-throw guarantee.
1186 */
1187 bool
1188 is_array() const noexcept
1189 {
1190 return kind() == json::kind::array;
1191 }
1192
1193 /** Check if this is an @ref object.
1194

Callers 11

check_arrayFunction · 0.80
testSpecialMethod · 0.80
testConversionMethod · 0.80
testAssignmentMethod · 0.80
testObserversMethod · 0.80
tag_invokeFunction · 0.80
usingValuesFunction · 0.80
usingInitListsFunction · 0.80
usingSetAtPointerFunction · 0.80
testGeneralMethod · 0.80
tag_invokeFunction · 0.80

Calls 1

kindEnum · 0.85

Tested by 1

check_arrayFunction · 0.64