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

Method IsNil

cmp/internal/value/pointer.go:27–29  ·  cmp/internal/value/pointer.go::Pointer.IsNil

IsNil reports whether the pointer is nil.

()

Source from the content-addressed store, hash-verified

25
26// IsNil reports whether the pointer is nil.
27func (p Pointer) IsNil() bool {
28 return p.p == nil
29}
30
31// Uintptr returns the pointer as a uintptr.
32func (p Pointer) Uintptr() uintptr {

Callers 15

CanFormatDiffSliceMethod · 0.80
compareAnyMethod · 0.80
compareSliceMethod · 0.80
compareMapMethod · 0.80
comparePtrMethod · 0.80
compareInterfaceMethod · 0.80
wrapTrunkReferencesFunction · 0.80
resolveReferencesFunction · 0.80
retrieveUnexportedFieldFunction · 0.80
FilterValuesFunction · 0.80
TransformerFunction · 0.80
ComparerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected