[#absl-Cord-TryFlat] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::TryFlat :relfileprefix: ../../ :mrdocs: If this cord's representation is a single flat array, returns a string_view referencing that array. Otherwise returns nullopt. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<std::string_view> TryFlat() const; ---- == Return Value A view of the flat array, or `nullopt` if not flat. [.small]#Created with https://www.mrdocs.com[MrDocs]#