[#absl-IsFailedPrecondition] = xref:absl.adoc[absl]::IsFailedPrecondition :relfileprefix: ../ :mrdocs: Returns `true` if `status` has the `kFailedPrecondition` error code. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool IsFailedPrecondition(xref:absl/Status.adoc[Status] const& status); ---- == Return Value `true` if `status` matches the associated error code. [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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#