reflect.Value.IsNil (method)
57 uses
reflect (current package)
deepequal.go#L50: return !v1.IsNil() && !v2.IsNil()
deepequal.go#L96: if v1.IsNil() != v2.IsNil() {
deepequal.go#L112: if v1.IsNil() || v2.IsNil() {
deepequal.go#L113: return v1.IsNil() == v2.IsNil()
deepequal.go#L129: if v1.IsNil() != v2.IsNil() {
deepequal.go#L147: if v1.IsNil() && v2.IsNil() {
value.go#L888: if v.IsNil() {
value.go#L1069: func (v Value) IsNil() bool {
value.go#L1121: return v.IsNil()
value.go#L1327: if v.typ.Kind() == Interface && v.IsNil() {
value.go#L2435: if v.Kind() == Interface && v.IsNil() {
value.go#L2749: if v.IsNil() {
encoding/asn1
asn1.go#L1114: if v.Kind() != reflect.Ptr || v.IsNil() {
encoding/gob
decode.go#L232: if v.IsNil() {
decode.go#L561: if value.IsNil() {
decoder.go#L199: if v.Kind() == reflect.Ptr && !v.IsNil() {
encode.go#L165: if pv.IsNil() {
encode.go#L283: return !v.IsNil()
encode.go#L389: if elem.Kind() == reflect.Ptr && elem.IsNil() {
encode.go#L395: if iv.IsNil() {
encode.go#L450: return val.IsNil()
encode.go#L567: if !state.sendZero && mv.IsNil() {
encode.go#L585: if !state.sendZero && (!iv.IsValid() || iv.IsNil()) {
encoder.go#L222: if value.Kind() == reflect.Ptr && value.IsNil() {
encoding/json
decode.go#L172: if rv.Kind() != reflect.Ptr || rv.IsNil() {
decode.go#L447: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L449: if e.Kind() == reflect.Ptr && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Ptr) {
decode.go#L471: if v.IsNil() {
decode.go#L647: if v.IsNil() {
decode.go#L715: if subv.IsNil() {
encode.go#L354: return v.IsNil()
encode.go#L470: if v.Kind() == reflect.Ptr && v.IsNil() {
encode.go#L491: if va.IsNil() {
encode.go#L507: if v.Kind() == reflect.Ptr && v.IsNil() {
encode.go#L525: if va.IsNil() {
encode.go#L712: if v.IsNil() {
encode.go#L742: if fv.IsNil() {
encode.go#L780: if v.IsNil() {
encode.go#L834: if v.IsNil() {
encode.go#L869: if v.IsNil() {
encode.go#L930: if v.IsNil() {
encode.go#L1010: if w.v.Kind() == reflect.Ptr && w.v.IsNil() {
fmt
print.go#L292: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L541: if v := reflect.ValueOf(arg); v.Kind() == reflect.Ptr && v.IsNil() {
print.go#L761: if f.IsNil() {
print.go#L847: if f.Kind() == reflect.Slice && f.IsNil() {
internal/fmtsort
sort.go#L191: if aVal.IsNil() {
sort.go#L192: if bVal.IsNil() {
sort.go#L197: if bVal.IsNil() {
net/http/httptrace
trace.go#L189: if of.IsNil() {
trace.go#L192: if tf.IsNil() {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)