Add QL doc for LambdaExpr::isKotlinFunctionN

This commit is contained in:
Tamas Vajk
2022-04-29 08:43:41 +02:00
committed by Ian Lynagh
parent 1151f79eca
commit 464d13775d

View File

@@ -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