Return true if a matching prefix exists
Synopses
Return true if a matching prefix exists
constexpr
bool
starts_with(core::string_view x) const noexcept;
Return true if a matching prefix exists
constexpr
bool
starts_with(char x) const noexcept;
Return true if a matching prefix exists
constexpr
bool
starts_with(char const* x) const noexcept;
Return Value
true
if the prefix matches
Parameters
Name |
Description |
x |
The string to search for |
Created with MrDocs