ClassQ

ClassQ[symbol]
returns True if symbol is a declared class, and False otherwise.

ClassQ[symbol]
returns True if symbol is a declared class of class class or one of its parents, and False otherwise.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Check whenever Object is a class:

In[2]:=
Click for copyable input
Out[2]=