func go/types.IsInterface
16 uses
go/types (current package)
call.go#L930: if _, ok := typ.(*Pointer); !ok && !IsInterface(typ) {
lookup.go#L515: return p != nil && IsInterface(p.base)
lookup.go#L552: if IsInterface(T) {
lookup.go#L568: if IsInterface(T) {
methodset.go#L93: if isPtr && IsInterface(typ) {
predicates.go#L115: func IsInterface(t Type) bool {
predicates.go#L122: return !isTypeParam(t) && IsInterface(t)
stmt.go#L744: } else if IsInterface(x.typ) {
unify.go#L341: if ny := asNamed(y); mode&exact == 0 && ny != nil && isTypeLit(x) && !(u.enableInterfaceInference && IsInterface(x)) {
union.go#L172: assert(!IsInterface(y.typ))
union.go#L174: if IsInterface(x.typ) {
golang.org/x/tools/go/types/objectpath
objectpath.go#L413: if types.IsInterface(named) {
golang.org/x/tools/go/types/typeutil
callee.go#L84: return recv != nil && types.IsInterface(recv.Type())
ui.go#L30: return ok && !types.IsInterface(ptr.Elem())
ui.go#L35: if types.IsInterface(T) || isPointerToConcrete(T) {
golang.org/x/tools/internal/gcimporter
iexport.go#L817: if types.IsInterface(t) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)