1
Answer

typeof operator

George George

George George

16y
4.8k
1

Hello everyone,

typeof operator gets the exact type of a variable. My purpose is to check whether the

type of a variable derives from a specific base class, any ideas of how to use typeof to

solve this issue? Or using some other solution other than using typeof?

thanks in advance,
George

Answers (1)