CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds calls of the form `this.isMounted(...)`

import javascript

from MethodCallExpr c
where
  c.getReceiver() instanceof ThisExpr and
  c.getMethodName() = "isMounted"
select c