In the previous chapters, we learned the basics of TypeScript and we worked with various frameworks. We will discover more advanced features of TypeScript in this chapter. This chapter covers the following aspects:
Sometimes, you must check whether a value is of a certain type. For instance, if you have a value of a class
Base, you might want to check if it is of a certain subclass
instanceof in TypeScript. In other typed ...