func reflect.TypeAssert

38 uses

	reflect (current package)
		value.go#L1518: func TypeAssert[T any](v Value) (T, bool) {

	encoding/asn1
		marshal.go#L463: 		t, _ := reflect.TypeAssert[time.Time](value)
		marshal.go#L469: 		v, _ := reflect.TypeAssert[BitString](value)
		marshal.go#L472: 		v, _ := reflect.TypeAssert[ObjectIdentifier](value)
		marshal.go#L475: 		v, _ := reflect.TypeAssert[*big.Int](value)
		marshal.go#L611: 		rv, _ := reflect.TypeAssert[RawValue](v)
		marshal.go#L656: 		t, _ := reflect.TypeAssert[time.Time](v)

	encoding/json
		decode.go#L485: 			if u, ok := reflect.TypeAssert[Unmarshaler](v); ok {
		decode.go#L489: 				if u, ok := reflect.TypeAssert[encoding.TextUnmarshaler](v); ok {
		encode.go#L478: 	m, ok := reflect.TypeAssert[Marshaler](v)
		encode.go#L501: 	m, _ := reflect.TypeAssert[Marshaler](va)
		encode.go#L519: 	m, ok := reflect.TypeAssert[encoding.TextMarshaler](v)
		encode.go#L537: 	m, _ := reflect.TypeAssert[encoding.TextMarshaler](va)
		encode.go#L983: 	if tm, ok := reflect.TypeAssert[encoding.TextMarshaler](k); ok {

	encoding/xml
		marshal.go#L448: 		if marshaler, ok := reflect.TypeAssert[Marshaler](val); ok {
		marshal.go#L455: 			if marshaler, ok := reflect.TypeAssert[Marshaler](pv); ok {
		marshal.go#L463: 		if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](val); ok {
		marshal.go#L470: 			if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
		marshal.go#L508: 			if v, ok := reflect.TypeAssert[Name](fv); ok && v.Local != "" {
		marshal.go#L586: 		if marshaler, ok := reflect.TypeAssert[MarshalerAttr](val); ok {
		marshal.go#L601: 			if marshaler, ok := reflect.TypeAssert[MarshalerAttr](pv); ok {
		marshal.go#L615: 		if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](val); ok {
		marshal.go#L628: 			if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
		marshal.go#L660: 		attr, _ := reflect.TypeAssert[Attr](val)
		marshal.go#L869: 				if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](vf); ok {
		marshal.go#L883: 					if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
		marshal.go#L920: 				if elem, ok := reflect.TypeAssert[[]byte](vf); ok {
		read.go#L261: 		if unmarshaler, ok := reflect.TypeAssert[UnmarshalerAttr](val); ok {
		read.go#L268: 			if unmarshaler, ok := reflect.TypeAssert[UnmarshalerAttr](pv); ok {
		read.go#L278: 		if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](val); ok {
		read.go#L285: 			if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](pv); ok {
		read.go#L361: 		if unmarshaler, ok := reflect.TypeAssert[Unmarshaler](val); ok {
		read.go#L369: 			if unmarshaler, ok := reflect.TypeAssert[Unmarshaler](pv); ok {
		read.go#L376: 		if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](val); ok {
		read.go#L384: 			if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](pv); ok {
		read.go#L467: 			if _, ok := reflect.TypeAssert[Name](fv); ok {
		read.go#L593: 		if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](saveData); ok {
		read.go#L604: 			if textUnmarshaler, ok := reflect.TypeAssert[encoding.TextUnmarshaler](pv); ok {