MCPcopy Create free account
hub / github.com/apache/arrow / Equals

Method Equals

cpp/src/arrow/result.h:276–281  ·  view source on GitHub ↗

Compare to another Result.

Source from the content-addressed store, hash-verified

274
275 /// Compare to another Result.
276 bool Equals(const Result& other) const {
277 if (ARROW_PREDICT_TRUE(status_.ok())) {
278 return other.status_.ok() && ValueUnsafe() == other.ValueUnsafe();
279 }
280 return status_ == other.status_;
281 }
282
283 /// Indicates whether the object contains a `T` value. Generally instead
284 /// of accessing this directly you will want to use ASSIGN_OR_RAISE defined

Callers

nothing calls this directly

Calls 2

ValueUnsafeMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected