Object Is Not A Type

no-email (Damien Seguy), Damien Seguy
Sun, 11 Sep 2022 00:00:00 +0000

Such situations always make me smile, yet I am certain several of us will loose time on such a mistake. ``object`` is a type that can be used with argument, returntypes and properties, but not with ``instanceof``. It is a bit more obvious with integer or string in the ``instanceof``.