absl::Cord::Contains

Determines whether the Cord contains the passed string data rhs.

Synopsis

Declared in <absl/strings/cord.h>

bool
Contains(std::string_view rhs) const;

Return Value

true if the Cord contains rhs.

Parameters

NameDescription
rhsThe string to search for.