* Checks whether the dictionary contains the specified key. * * @param key The key. * @returns true if the dictionary contains the key, false otherwise. */
| 117 | * @returns true if the dictionary contains the key, false otherwise. |
| 118 | */ |
| 119 | bool Dictionary::Contains(const String& key) const |
| 120 | { |
| 121 | std::shared_lock<std::shared_timed_mutex> lock (m_DataMutex); |
| 122 | |
| 123 | return (m_Data.find(key) != m_Data.end()); |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * Returns an iterator to the beginning of the dictionary. |