Returns true if the set contains key.
Synopses
Declared in <folly/container/sorted_vector_types.h>
Returns true if the set contains key.
bool
contains(key_type const& key) const;
Returns true if the set contains key.
template<typename K>
if_is_transparent<K, bool>
contains(K const& key) const;
Return Value
True if the set contains the key.
Parameters
Name |
Description |
key |
The key to look for. |
Created with MrDocs