absl::Cord::StartsWith

StartsWith overloads

Synopses

Declared in <absl/strings/cord.h>

Determines whether the Cord starts with the passed string data rhs.

bool
StartsWith(std::string_view rhs) const;
» more...

Determines whether the Cord starts with the passed Cord rhs.

bool
StartsWith(Cord const& rhs) const;
» more...

Return Value

true if the Cord starts with rhs.

Parameters

NameDescription
rhsThe prefix string to test for.