reflect.Value.IsNil (method)
50 uses
reflect (current package)
deepequal.go#L53: return !v1.IsNil() && !v2.IsNil()
deepequal.go#L99: if v1.IsNil() != v2.IsNil() {
deepequal.go#L119: if v1.IsNil() || v2.IsNil() {
deepequal.go#L120: return v1.IsNil() == v2.IsNil()
deepequal.go#L136: if v1.IsNil() != v2.IsNil() {
deepequal.go#L155: if v1.IsNil() && v2.IsNil() {
value.go#L1317: if v.IsNil() {
value.go#L1340: if v.IsNil() {
value.go#L1632: func (v Value) IsNil() bool {
value.go#L1703: return v.IsNil()
value.go#L1906: if v.typ().Kind() == abi.Interface && v.IsNil() {
value.go#L3196: if v.Kind() == Interface && v.IsNil() {
value.go#L3278: return v.IsNil() || v.Elem().Comparable()
value.go#L3684: if v.IsNil() {
encoding/asn1
asn1.go#L1165: if v.Kind() != reflect.Pointer || v.IsNil() {
encoding/json
decode.go#L175: if rv.Kind() != reflect.Pointer || rv.IsNil() {
decode.go#L457: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L459: if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) {
decode.go#L481: if v.IsNil() {
decode.go#L648: if v.IsNil() {
decode.go#L711: if subv.IsNil() {
encode.go#L474: if v.Kind() == reflect.Pointer && v.IsNil() {
encode.go#L497: if va.IsNil() {
encode.go#L515: if v.Kind() == reflect.Pointer && v.IsNil() {
encode.go#L533: if va.IsNil() {
encode.go#L696: if v.IsNil() {
encode.go#L727: if fv.IsNil() {
encode.go#L766: if v.IsNil() {
encode.go#L825: if v.IsNil() {
encode.go#L844: if v.IsNil() {
encode.go#L905: if v.IsNil() {
encode.go#L984: if k.Kind() == reflect.Pointer && k.IsNil() {
encode.go#L1199: return v.IsNil() ||
encode.go#L1200: (v.Elem().Kind() == reflect.Pointer && v.Elem().IsNil()) ||
encode.go#L1206: return v.IsNil() || v.Interface().(isZeroer).IsZero()
fmt
print.go#L344: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L593: if v := reflect.ValueOf(arg); v.Kind() == reflect.Pointer && v.IsNil() {
print.go#L809: if f.IsNil() {
print.go#L893: if f.Kind() == reflect.Slice && f.IsNil() {
internal/fmtsort
sort.go#L144: if aVal.IsNil() {
sort.go#L145: if bVal.IsNil() {
sort.go#L150: 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.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |