SyntaxFix
Write A Post
Hire A Developer
Questions
You can use for it the is operator. You can then check if object is specific type by writing:
is
if (myObject is string) { DoSomething() }