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

Method count

include/chaiscript/utility/json.hpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 size_t count(const std::string &s) const {
112 return (find(s) != data.end())?1:0;
113 }
114
115 std::vector<std::pair<std::string, JSON>> data;
116

Callers 9

has_keyMethod · 0.45
useMethod · 0.45
load_moduleMethod · 0.45
importMethod · 0.45
register_namespaceMethod · 0.45
is_reserved_wordMethod · 0.45
countFunction · 0.45
convertable_typeMethod · 0.45
convertsMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected