Returns true if this‐>code() == absl::StatusCode::kOk, indicating the absence of an error.
Synopsis
Declared in <absl/status/status.h>
[[nodiscard]]
bool
ok() const;
Description
Prefer checking for an OK status using this member function.