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

Member predicate TypeSwitchStmt::getTest

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

Stmt getTest()