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

Member predicate TypeSwitchStmt::getTest

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

Stmt getTest()