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

Member predicate StructType::hasMethod

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

predicate hasMethod(string name, SignatureType tp)