Function contains
Synopsis
#include <include/cpptoml.h>
bool contains(const std::string &key) const
Description
Determines if this key table contains the given key.
Source
Lines 1335-1338 in include/cpptoml.h.
bool contains(const std::string& key) const
{
return map_.find(key) != map_.end();
}