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

Member predicate TypeSwitchStmt::getTest

Gets the test statement of this type-switch statement. This is a SimpleAssignStmt or ExprStmt.

Stmt getTest()