func reflect.TypeAssert
14 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 {
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |