[#absl-Cord-Compare-03] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Compare :relfileprefix: ../../ :mrdocs: Compares 'this' Cord with another Cord. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int Compare(xref:absl/Cord.adoc[Cord] const& rhs) const; ---- == Return Value ‐1, 0, or 1 for less than, equal, or greater than. == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | The Cord to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#