That test acts as a type guard to ensure that, within the test's code block, you have the right object. In addition, with TypeScript 2.0, switch statements can act as type guards. As an example, in ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results