MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / is_array

Method is_array

extern/json/json.hpp:2503–2506  ·  view source on GitHub ↗

! @brief return whether value is an array This function returns true iff 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} @since versio

Source from the content-addressed store, hash-verified

2501 @since version 1.0.0
2502 */
2503 constexpr bool is_array() const noexcept
2504 {
2505 return m_type == value_t::array;
2506 }
2507
2508 /*!
2509 @brief return whether value is a string

Callers 2

basic_jsonMethod · 0.80
patchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected