reflect.Value.IsNil (method)
49 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#L154: if v1.IsNil() && v2.IsNil() {
value.go#L1317: if v.IsNil() {
value.go#L1340: if v.IsNil() {
value.go#L1551: func (v Value) IsNil() bool {
value.go#L1615: return v.IsNil()
value.go#L2016: if v.typ().Kind() == abi.Interface && v.IsNil() {
value.go#L3288: if v.Kind() == Interface && v.IsNil() {
value.go#L3776: if v.IsNil() {
encoding/asn1
asn1.go#L1117: if v.Kind() != reflect.Pointer || v.IsNil() {
encoding/json
decode.go#L173: if rv.Kind() != reflect.Pointer || rv.IsNil() {
decode.go#L451: if v.Kind() == reflect.Interface && !v.IsNil() {
decode.go#L453: if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) {
decode.go#L475: if v.IsNil() {
decode.go#L642: if v.IsNil() {
decode.go#L702: if subv.IsNil() {
encode.go#L317: return v.IsNil()
encode.go#L433: if v.Kind() == reflect.Pointer && v.IsNil() {
encode.go#L456: if va.IsNil() {
encode.go#L474: if v.Kind() == reflect.Pointer && v.IsNil() {
encode.go#L492: if va.IsNil() {
encode.go#L656: if v.IsNil() {
encode.go#L687: if fv.IsNil() {
encode.go#L725: if v.IsNil() {
encode.go#L780: if v.IsNil() {
encode.go#L803: if v.IsNil() {
encode.go#L864: if v.IsNil() {
encode.go#L945: if w.k.Kind() == reflect.Pointer && w.k.IsNil() {
fmt
print.go#L343: if val.Kind() == reflect.Interface && !val.IsNil() {
print.go#L592: if v := reflect.ValueOf(arg); v.Kind() == reflect.Pointer && v.IsNil() {
print.go#L808: if f.IsNil() {
print.go#L894: if f.Kind() == reflect.Slice && f.IsNil() {
go.uber.org/zap/zapcore
error.go#L55: if v := reflect.ValueOf(err); v.Kind() == reflect.Ptr && v.IsNil() {
field.go#L222: if v := reflect.ValueOf(stringer); v.Kind() == reflect.Ptr && v.IsNil() {
internal/fmtsort
sort.go#L190: if aVal.IsNil() {
sort.go#L191: if bVal.IsNil() {
sort.go#L196: 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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |