contains overloads
Synopses
Declared in <llvm/ADT/SmallString.h>
contains ‐ Check if Other is a substring of this string.
contains ‐ Check if this string contains the character C.
[[nodiscard]]
bool
contains(char C) const;
Return Value
-
True if
Otheris a substring of this string. -
True if
Coccurs in this string.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
Other |
Substring to search for. |
C |
Character to search for. |
Created with MrDocs