CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Member predicate InterfaceType::hasMethod

Holds if the method set of this type contains a method named m of type t.

predicate hasMethod(string m, SignatureType t)