MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / is_discarded

Function is_discarded

Source/Utils/json.hpp:19143–19146  ·  view source on GitHub ↗

! @brief return whether value is discarded This function returns true if and only if the JSON value was discarded during parsing with a callback function (see @ref parser_callback_t). @note This function will always be `false` for JSON values after parsing. That is, discarded values can only occur during parsing, but will be removed when inside a s

Source from the content-addressed store, hash-verified

19141 @since version 1.0.0
19142 */
19143 constexpr bool is_discarded() const noexcept
19144 {
19145 return m_type == value_t::discarded;
19146 }
19147
19148 /*!
19149 @brief return the type of the JSON value (implicit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected