mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Add QL doc for LambdaExpr::isKotlinFunctionN
This commit is contained in:
@@ -1382,6 +1382,9 @@ class LambdaExpr extends FunctionalExpr, @lambdaexpr {
|
||||
result.getNumberOfParameters() = 1
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this expression is a big-arity lambda expression in Kotlin.
|
||||
*/
|
||||
predicate isKotlinFunctionN() {
|
||||
exists(RefType r |
|
||||
this.getAnonymousClass().extendsOrImplements(r) and
|
||||
|
||||
Reference in New Issue
Block a user