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

Member predicate TypeSwitchStmt::getTest

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

Stmt getTest()