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

Method type

extern/json/json.hpp:2243–2246  ·  view source on GitHub ↗

! @brief return the type of the JSON value (explicit) Return the type of the JSON value as a value from the @ref value_t enumeration. @return the type of the JSON value @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `type()` for all JSON types.,type} @

Source from the content-addressed store, hash-verified

2241 @since version 1.0.0
2242 */
2243 constexpr value_t type() const noexcept
2244 {
2245 return m_type;
2246 }
2247
2248 /*!
2249 @brief return whether type is primitive

Callers 4

operator==Method · 0.45
operator<Method · 0.45
keyMethod · 0.45
diffMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected