CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.1 (changelog, source)

Member predicate DataFlow::FunctionNode::getReceiver

Gets the dataflow node holding the value of the receiver passed to the given function.

Has no result for arrow functions, as they ignore the receiver argument.

To get the data flow node for this in an arrow function, consider using getThisBinder().getReceiver().

ThisNode getReceiver()