reflect.Type.AssignableTo (method)
3 uses
reflect (current package)
type.go#L109: AssignableTo(u Type) bool
value.go#L451: if xt, targ := in[i].Type(), t.In(i); !xt.AssignableTo(toRType(targ)) {
value.go#L462: if xt := x.Type(); !xt.AssignableTo(elem) {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |