- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsInterfaceMethod (0.11 sec)
-
src/cmd/compile/internal/types/type.go
return t.NumFields() == 1 && IsDirectIface(t.Field(0).Type) } return false } // IsInterfaceMethod reports whether (field) m is // an interface method. Such methods have the // special receiver type types.FakeRecvType(). func IsInterfaceMethod(f *Type) bool { return f.Recv().Type == FakeRecvType() } // IsMethodApplicable reports whether method m can be called on a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)