reflect.Value.IsValid (method)

31 uses

	reflect (current package)
		deepequal.go#L25: 	if !v1.IsValid() || !v2.IsValid() {
		deepequal.go#L26: 		return v1.IsValid() == v2.IsValid()
		deepequal.go#L141: 			if !val1.IsValid() || !val2.IsValid() || !deepValueEqual(val1, val2, visited) {
		value.go#L1094: func (v Value) IsValid() bool {
		value.go#L2212: 			if c.Chan.IsValid() {
		value.go#L2215: 			if c.Send.IsValid() {
		value.go#L2221: 			if !ch.IsValid() {
		value.go#L2233: 			if !v.IsValid() {
		value.go#L2245: 			if c.Send.IsValid() {
		value.go#L2249: 			if !ch.IsValid() {

	encoding/asn1
		marshal.go#L580: 	if !v.IsValid() {

	encoding/gob
		decode.go#L1184: 	if !value.IsValid() {
		decoder.go#L198: 	if v.IsValid() {
		encode.go#L357: 	for i := 0; i < indir && v.IsValid(); i++ {
		encode.go#L360: 	if !v.IsValid() {
		encode.go#L585: 				if !state.sendZero && (!iv.IsValid() || iv.IsNil()) {

	encoding/json
		decode.go#L359: 		if v.IsValid() {
		decode.go#L369: 		if v.IsValid() {
		decode.go#L383: 		if v.IsValid() {
		decode.go#L688: 			if !mapElem.IsValid() {
		decode.go#L806: 			if kv.IsValid() {
		encode.go#L375: 	if !v.IsValid() {

	fmt
		print.go#L321: 	if !v.IsValid() {
		print.go#L340: 	case p.value.IsValid():
		print.go#L700: 		if f.IsValid() && f.CanInterface() {
		print.go#L721: 	if depth > 0 && value.IsValid() && value.CanInterface() {
		print.go#L811: 		if !value.IsValid() {

	net/http
		transport.go#L372: 	if rv := reflect.ValueOf(altProto["https"]); rv.IsValid() && rv.Type().Kind() == reflect.Struct && rv.Type().NumField() == 1 {