![]() |
Home | Libraries | People | FAQ | More |
Return true
if the key is
found.
bool contains( string_view key) const;
This function returns true
if a key with the specified string is found.
return this->[link json.ref.boost__json__object.find `find`](key) != this->[link json.ref.boost__json__object.end `end`]();
Constant on average, worst case linear in size()
.
No-throw guarantee.
Name |
Description |
---|---|
|
The key of the element to find. |