Returns true if this->code() == absl::StatusCode::kOk, indicating the absence of an error.
true
this->code()
absl::StatusCode::kOk
Declared in <absl/status/status.h>
<absl/status/status.h>
[[nodiscard]] bool ok() const;
Prefer checking for an OK status using this member function.
true if the status is OK.
The return value should not be discarded.