[#absl-IsCancelled]
= xref:absl.adoc[absl]::IsCancelled
:relfileprefix: ../
:mrdocs:

Returns `true` if `status` has the `kCancelled` error code&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
IsCancelled(xref:absl/Status.adoc[Status] const& status);
----

== Return Value

`true` if `status` matches the associated error code&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *status*
| The status to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
