MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / count

Function count

dependencies/json/json.hpp:20946–20950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20944 */
20945 template<typename KeyT>
20946 size_type count(KeyT&& key) const
20947 {
20948 // return 0 for all nonobject types
20949 return is_object() ? m_value.object->count(std::forward<KeyT>(key)) : 0;
20950 }
20951
20952 /*!
20953 @brief check the existence of an element in a JSON object

Callers

nothing calls this directly

Calls 2

is_objectFunction · 0.70
countMethod · 0.45

Tested by

no test coverage detected