We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35b0e83 commit cd646c8Copy full SHA for cd646c8
docs/codeql/ql-language-reference/types.rst
@@ -388,6 +388,8 @@ Non-extending subtypes
388
======================
389
390
Besides extending base types, classes can also declare `instanceof` relationships with other types.
391
+Declaring a class as `instanceof Foo` is roughly equivalent to saying `this instanceof Foo` the charpred.
392
+The main differences are that you can call methods on Bar via `super` and you can get better optimisation.
393
394
.. code-block:: ql
395
0 commit comments