absl::Cord::StartsWith

Determines whether the Cord starts with the passed Cord rhs.

Synopsis

Declared in <absl/strings/cord.h>

bool
StartsWith(Cord const& rhs) const;

Return Value

true if the Cord starts with rhs.

Parameters

NameDescription
rhsThe prefix Cord to test for.