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

Member predicate Type::implementsComparable

Holds if this type implements comparable. This includes being comparable itself, or the underlying type of comparable.

predicate implementsComparable()