reflect.Value.IsValid (method)

35 uses

	reflect (current package)
		deepequal.go#L28: 	if !v1.IsValid() || !v2.IsValid() {
		deepequal.go#L29: 		return v1.IsValid() == v2.IsValid()
		deepequal.go#L149: 			if !val1.IsValid() || !val2.IsValid() || !deepValueEqual(val1, val2, visited) {
		map.go#L336: 	if !iter.m.IsValid() {
		map.go#L357: 	if v.IsValid() {
		value.go#L1657: func (v Value) IsValid() bool {
		value.go#L2963: 			if c.Chan.IsValid() {
		value.go#L2966: 			if c.Send.IsValid() {
		value.go#L2972: 			if !ch.IsValid() {
		value.go#L2984: 			if !v.IsValid() {
		value.go#L2999: 			if c.Send.IsValid() {
		value.go#L3003: 			if !ch.IsValid() {
		value.go#L3309: 	if !v.IsValid() || !u.IsValid() {
		value.go#L3310: 		return v.IsValid() == u.IsValid()

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

	encoding/binary
		binary.go#L724: 		if v.IsValid() {

	encoding/json
		decode.go#L369: 		if v.IsValid() {
		decode.go#L379: 		if v.IsValid() {
		decode.go#L393: 		if v.IsValid() {
		decode.go#L692: 			if !mapElem.IsValid() {
		decode.go#L810: 			if kv.IsValid() {
		encode.go#L382: 	if !v.IsValid() {

	fmt
		print.go#L373: 	if !v.IsValid() {
		print.go#L392: 	case p.value.IsValid():
		print.go#L748: 		if f.IsValid() && f.CanInterface() {
		print.go#L769: 	if depth > 0 && value.IsValid() && value.CanInterface() {
		print.go#L859: 		if !value.IsValid() {

	go.opentelemetry.io/otel/attribute
		value.go#L270: 	if !rv.IsValid() || rv.Kind() != reflect.Array || rv.Type().Elem() != reflect.TypeFor[Value]() {

	go.opentelemetry.io/otel/attribute/internal
		attribute.go#L67: 	if !rv.IsValid() || rv.Kind() != reflect.Array || rv.Type().Elem() != reflect.TypeFor[T]() {

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