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

Predicate lambdaCreation

Holds if creation is an expression that creates a lambda of kind kind for c.

Import path

import semmle.go.dataflow.internal.DataFlowPrivate
predicate lambdaCreation(Node creation, LambdaCallKind kind, DataFlowCallable c)