Theia API Documentation v1.65.0
    Preparing search index...
    • Different scopes have different execution environments. This means that they have different built-ins (different global object, different constructors, etc.). This may result in unexpected results. For instance, [] instanceof window.frames[0].Array will return false, because Array.prototype !== window.frames[0].Array and arrays inherit from the former. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof

      Note: just add another check if the current event.type checking is insufficient.

      Parameters

      • event: object & { type?: string }

      Returns event is KeyboardEvent