isNonTypeParamInterface reports whether t is an interface type but not a type parameter.
(t Type)
| 87 | |
| 88 | // isNonTypeParamInterface reports whether t is an interface type but not a type parameter. |
| 89 | func isNonTypeParamInterface(t Type) bool { |
| 90 | return !isTypeParam(t) && IsInterface(t) |
| 91 | } |
| 92 | |
| 93 | // isTypeParam reports whether t is a type parameter. |
| 94 | func isTypeParam(t Type) bool { |
no test coverage detected