MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / has_key

Method has_key

include/chaiscript/utility/json.hpp:303–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 }
302
303 bool has_key( const std::string &key ) const {
304 if( internal.Type == Class::Object ) {
305 return internal.Map->count(key) != 0;
306 }
307
308 return false;
309 }
310
311 int size() const {
312 if( internal.Type == Class::Object ) {

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected