SyntaxFix
Write A Post
Hire A Developer
Questions
Be careful when using the isa function. This will be true if your object is of the specified type or one of its subclasses. You have to use strcmp with the class function to test if the object is specifically that type and not a subclass.
isa
strcmp
class