[#absl-CharSet-contains]
= xref:absl.adoc[absl]::xref:absl/CharSet.adoc[CharSet]::contains
:relfileprefix: ../../
:mrdocs:

Tests whether the set contains a given character&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;charset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
contains(char c) const;
----

== Return Value

`true` if `c` is a member of the set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| The character to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
