reflect.Value.IsNil (method)

210 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#L1259: 				if v.IsNil() {
		value.go#L1282: 				if v.IsNil() {
		value.go#L1489: func (v Value) IsNil() bool {
		value.go#L1541: 		return v.IsNil()
		value.go#L1851: 	if v.typ.Kind() == Interface && v.IsNil() {
		value.go#L3048: 		if v.Kind() == Interface && v.IsNil() {
		value.go#L3396: 	if v.IsNil() {

	database/sql
		convert.go#L392: 	if dpv.IsNil() {
		convert.go#L555: 		rv.IsNil() &&

	database/sql/driver
		types.go#L229: 		rv.IsNil() &&
		types.go#L261: 		if rv.IsNil() {

	encoding/asn1
		asn1.go#L1114: 	if v.Kind() != reflect.Pointer || v.IsNil() {

	encoding/json
		decode.go#L172: 	if rv.Kind() != reflect.Pointer || rv.IsNil() {
		decode.go#L450: 		if v.Kind() == reflect.Interface && !v.IsNil() {
		decode.go#L452: 			if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) {
		decode.go#L474: 		if v.IsNil() {
		decode.go#L650: 		if v.IsNil() {
		decode.go#L721: 						if subv.IsNil() {
		encode.go#L354: 		return v.IsNil()
		encode.go#L470: 	if v.Kind() == reflect.Pointer && v.IsNil() {
		encode.go#L491: 	if va.IsNil() {
		encode.go#L507: 	if v.Kind() == reflect.Pointer && 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#L835: 	if v.IsNil() {
		encode.go#L870: 	if v.IsNil() {
		encode.go#L931: 	if v.IsNil() {
		encode.go#L1012: 		if w.k.Kind() == reflect.Pointer && w.k.IsNil() {

	encoding/xml
		marshal.go#L424: 		if val.IsNil() {
		marshal.go#L519: 		if fv.Kind() == reflect.Interface && fv.IsNil() {
		marshal.go#L607: 		if val.IsNil() {
		marshal.go#L801: 		if vf.IsNil() {
		marshal.go#L949: 				if vf.Kind() != reflect.Pointer && vf.Kind() != reflect.Interface || !vf.IsNil() {
		marshal.go#L1059: 		return v.IsNil()
		read.go#L248: 		if val.IsNil() {
		read.go#L325: 	if val.Kind() == reflect.Interface && !val.IsNil() {
		read.go#L327: 		if e.Kind() == reflect.Pointer && !e.IsNil() {
		read.go#L333: 		if val.IsNil() {
		read.go#L606: 		if dst.IsNil() {
		typeinfo.go#L362: 				if v.IsNil() {

	fmt
		print.go#L292: 	if val.Kind() == reflect.Interface && !val.IsNil() {
		print.go#L541: 		if v := reflect.ValueOf(arg); v.Kind() == reflect.Pointer && v.IsNil() {
		print.go#L761: 			if f.IsNil() {
		print.go#L847: 			if f.Kind() == reflect.Slice && f.IsNil() {

	github.com/go-pg/pg/v10/internal
		util.go#L39: 				if elem.IsNil() {

	github.com/go-pg/pg/v10/orm
		composite.go#L27: 			if v.IsNil() {
		field.go#L80: 			if v.IsNil() {
		model.go#L79: 	if v.IsNil() {
		model.go#L90: 		if !v.IsNil() {
		model_func.go#L85: 	if !errv.IsNil() {
		model_table_struct.go#L131: 		if m.strct.IsNil() {
		model_table_struct.go#L271: 		m.strct.IsNil() {
		util.go#L56: 				if v.IsNil() {
		util.go#L83: 		if v.IsNil() {
		util.go#L108: 		if v.Kind() == reflect.Ptr && v.IsNil() {

	github.com/go-pg/pg/v10/types
		append_value.go#L127: 		if v.IsNil() {
		append_value.go#L135: 	if v.Kind() == reflect.Ptr && v.IsNil() {
		array_append.go#L70: 			if v.IsNil() {
		array_scan.go#L62: 			if kind != reflect.Slice || !v.IsNil() {
		array_scan.go#L69: 			if v.IsNil() {
		scan.go#L48: 	if vv.IsNil() {
		scan.go#L54: 		if vv.IsNil() {
		scan_value.go#L142: 			if v.IsNil() {
		scan_value.go#L152: 		if v.IsNil() {
		scan_value.go#L164: 	if v.IsNil() {
		scan_value.go#L366: 		if v.IsNil() {
		scan_value.go#L372: 	if v.IsNil() {
		scan_value.go#L388: 		if nilable(v) && v.IsNil() {
		scan_value.go#L394: 	if nilable(v) && v.IsNil() {

	github.com/go-pg/zerochecker
		zerochecker.go#L58: 	if v.Kind() == reflect.Ptr && v.IsNil() {
		zerochecker.go#L66: 		return v.IsNil()
		zerochecker.go#L79: 		return v.IsNil()
		zerochecker.go#L95: 	return v.IsNil()

	github.com/golang/mock/gomock
		matchers.go#L137: 		return v.IsNil()

	github.com/golang/protobuf/jsonpb
		encode.go#L87: 	if m == nil || (v.Kind() == reflect.Ptr && v.IsNil()) {

	github.com/golang/protobuf/proto
		extensions.go#L234: 		if rv.IsNil() {

	github.com/google/go-cmp/cmp
		compare.go#L285: 		s.report(vx.IsNil() && vy.IsNil(), 0)
		compare.go#L418: 	if isSlice && (vx.IsNil() || vy.IsNil()) {
		compare.go#L419: 		s.report(vx.IsNil() && vy.IsNil(), 0)
		compare.go#L509: 	if vx.IsNil() || vy.IsNil() {
		compare.go#L510: 		s.report(vx.IsNil() && vy.IsNil(), 0)
		compare.go#L551: 	if vx.IsNil() || vy.IsNil() {
		compare.go#L552: 		s.report(vx.IsNil() && vy.IsNil(), 0)
		compare.go#L568: 	if vx.IsNil() || vy.IsNil() {
		compare.go#L569: 		s.report(vx.IsNil() && vy.IsNil(), 0)
		export_unsafe.go#L30: 		if ve.Kind() == reflect.Interface && ve.IsNil() {
		options.go#L161: 	if !function.IsType(v.Type(), function.ValueFilter) || v.IsNil() {
		options.go#L279: 	if !function.IsType(v.Type(), function.Transformer) || v.IsNil() {
		options.go#L346: 	if !function.IsType(v.Type(), function.Equal) || v.IsNil() {
		report_reflect.go#L134: 		if (t.Kind() != reflect.Ptr && t.Kind() != reflect.Interface) || !v.IsNil() {
		report_reflect.go#L210: 		if v.IsNil() {
		report_reflect.go#L249: 		if v.IsNil() {
		report_reflect.go#L280: 		if v.IsNil() {
		report_reflect.go#L303: 		if v.IsNil() {
		report_slices.go#L50: 	if t.Kind() == reflect.Interface && !vx.IsNil() && !vy.IsNil() && vx.Elem().Type() == vy.Elem().Type() {

	github.com/vmihailenco/msgpack/v5
		decode.go#L274: 	if vv.IsNil() {
		decode.go#L280: 		if !vv.IsNil() {
		decode.go#L325: 	if v.IsNil() {
		decode_map.go#L35: 	if v.IsNil() {
		decode_slice.go#L93: 	if n == 0 && v.IsNil() {
		decode_value.go#L129: 			if !v.IsNil() {
		decode_value.go#L134: 		if v.IsNil() {
		decode_value.go#L156: 			if v.IsNil() {
		decode_value.go#L181: 	if v.IsNil() {
		encode_map.go#L12: 	if v.IsNil() {
		encode_map.go#L34: 	if v.IsNil() {
		encode_map.go#L60: 	if v.IsNil() {
		encode_slice.go#L122: 	if v.IsNil() {
		encode_value.go#L126: 		if v.IsNil() {
		encode_value.go#L142: 	if nilable(v.Kind()) && v.IsNil() {
		encode_value.go#L158: 	if nilable(v.Kind()) && v.IsNil() {
		encode_value.go#L176: 	if v.IsNil() {
		encode_value.go#L183: 	if v.IsNil() {
		encode_value.go#L211: 	if nilable(v.Kind()) && v.IsNil() {
		encode_value.go#L234: 	if nilable(v.Kind()) && v.IsNil() {
		ext.go#L79: 		if nilable && v.IsNil() {
		ext.go#L258: 	if nilable(v.Kind()) && v.IsNil() {
		intern.go#L43: 	if v.IsNil() {
		types.go#L324: 		if v.IsNil() {
		types.go#L332: 		return nilable(kind) && v.IsNil() || z.IsZero()
		types.go#L347: 		return v.IsNil()
		types.go#L361: 				if v.IsNil() {
		types.go#L394: 		if v.IsNil() {

	go.uber.org/zap/zapcore
		error.go#L54: 			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() {

	go/ast
		print.go#L25: 		return !v.IsNil()

	google.golang.org/protobuf/internal/descfmt
		stringer.go#L221: 			if !rv.IsNil() {
		stringer.go#L230: 			isZero = rv.IsNil()

	google.golang.org/protobuf/internal/impl
		codec_field.go#L59: 			if !vi.IsNil() && !vi.Elem().IsNil() && vi.Elem().Elem().Type() == ot {
		codec_field.go#L74: 		if v.IsNil() {
		codec_field.go#L78: 		if v.IsNil() {
		codec_field.go#L217: 				if mp.IsNil() {
		codec_field.go#L373: 				if mp.IsNil() {
		codec_map.go#L60: 			if mp.Elem().IsNil() {
		codec_map.go#L345: 	if dstm.IsNil() {
		codec_map.go#L360: 	if dstm.IsNil() {
		codec_map.go#L375: 	if dstm.IsNil() {
		convert.go#L451: 		if !rv.IsNil() {
		convert_list.go#L40: 	if rv.IsNil() {
		convert_list.go#L108: 	if ls.v.IsNil() {
		convert_list.go#L137: 	return !ls.v.IsNil()
		convert_map.go#L117: 	return !ms.v.IsNil()
		legacy_message.go#L495: 	if m.v.Kind() == reflect.Ptr && !m.v.IsNil() {
		legacy_message.go#L554: 		return !m.v.IsNil()
		merge.go#L141: 		if dm.IsNil() {
		message_reflect.go#L418: 	if rv.Kind() == reflect.Ptr && !rv.IsNil() {
		message_reflect_field.go#L91: 			if rv.IsNil() || rv.Elem().Type().Elem() != ot || rv.Elem().IsNil() {
		message_reflect_field.go#L98: 			if rv.IsNil() || rv.Elem().Type().Elem() != ot {
		message_reflect_field.go#L110: 			if rv.IsNil() || rv.Elem().Type().Elem() != ot || rv.Elem().IsNil() {
		message_reflect_field.go#L118: 			if rv.IsNil() || rv.Elem().Type().Elem() != ot || rv.Elem().IsNil() {
		message_reflect_field.go#L129: 			if rv.IsNil() || rv.Elem().Type().Elem() != ot || rv.Elem().IsNil() {
		message_reflect_field.go#L133: 			if rv.Kind() == reflect.Ptr && rv.IsNil() {
		message_reflect_field.go#L182: 			if pv.IsNil() {
		message_reflect_field.go#L189: 			if v.IsNil() {
		message_reflect_field.go#L235: 			if pv.IsNil() {
		message_reflect_field.go#L282: 				return !rv.IsNil()
		message_reflect_field.go#L309: 				if rv.IsNil() {
		message_reflect_field.go#L321: 				if rv.IsNil() {
		message_reflect_field.go#L430: 			return !rv.IsNil()
		message_reflect_field.go#L446: 			if fs.Type.Kind() == reflect.Ptr && rv.IsNil() {
		message_reflect_field.go#L452: 			if fs.Type.Kind() == reflect.Ptr && rv.IsNil() {
		message_reflect_field.go#L481: 			if rv.IsNil() { // valid on either *T or []byte
		message_reflect_field.go#L494: 			if rv.IsNil() {
		message_reflect_field.go#L498: 			if rv.IsNil() {
		message_reflect_field.go#L530: 		return v.IsNil()

	gotest.tools/v3/assert/cmp
		compare.go#L279: 			if value.IsNil() {

	gotest.tools/v3/internal/assert
		assert.go#L111: 	if v.Kind() == reflect.Ptr && v.IsNil() {

	html/template
		content.go#L124: 	for v.Kind() == reflect.Pointer && !v.IsNil() {
		content.go#L143: 	for !v.Type().Implements(fmtStringerType) && !v.Type().Implements(errorType) && v.Kind() == reflect.Pointer && !v.IsNil() {
		js.go#L135: 	for !v.Type().Implements(jsonMarshalType) && v.Kind() == reflect.Pointer && !v.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() {

	text/template
		exec.go#L331: 		truth = !val.IsNil()
		exec.go#L394: 		if val.IsNil() {
		exec.go#L819: 		if value.Kind() == reflect.Interface && !value.IsNil() {
		exec.go#L989: 		if v.IsNil() {
		exec.go#L1004: 	if v.IsNil() {
		funcs.go#L369: 	if len(ret) == 2 && !ret[1].IsNil() {