MCPcopy
hub / github.com/google/go-cmp / ByMethod

Method ByMethod

cmp/options.go:462–464  ·  view source on GitHub ↗

ByMethod reports whether the Equal method determined equality.

()

Source from the content-addressed store, hash-verified

460
461// ByMethod reports whether the Equal method determined equality.
462func (r Result) ByMethod() bool {
463 return r.flags&reportByMethod != 0
464}
465
466// ByFunc reports whether a [Comparer] function determined equality.
467func (r Result) ByFunc() bool {

Callers 1

ReportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected