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

Predicate signature AstSig::getIfInit

Gets the initializer of if statement ifstmt, if any.

signature AstNode getIfInit(IfStmt ifstmt)