I6: ofclass

How do I negate ofclass, i.e. what’s the syntax for checking if something is not ofclass something? I’ve worked around it now, but I would have expected something like ~ofclass or notofclass to work - is there a syntax, or do I really have to work around it?

Maybe try something like this –

if (~~object ofclass class)

I don’t remember the order of precedence, so to be safer: if (~~(x ofclass y))

Thanks!