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

Member predicate Assignment::assigns

Holds if this assignment assigns rhs to lhs.

predicate assigns(Expr lhs, Expr rhs)