title: Typeof/instanceof type alias
body: <p>I wonder if it is possible to determine the type of an object in typescript. Please consider the example below:</p>
  
  <pre><code>type T = [number, boolean];
  
  class B {
      foo: T = [3, true];
  
      bar(): boolean {
          return this.foo instanceof T;
      }
  }
  </code></pre>
  
  <p>The typeof operator does not seem to be a solution, neither does instanceof.</p>