Returns true if status has the kPermissionDenied error code.
Declared in <absl/status/status.h>
[[nodiscard]]
bool
IsPermissionDenied(Status const& status);
true if status matches the associated error code.
The return value should not be discarded.
| Name | Description |
|---|---|
| status | The status to test. |