Objectica
Symbol
Class
ClassFieldSlot
See Also »
|
Overview
Reference Guide
More About »
ClassFieldQ
ClassFieldQ[
class
,
member
]
returns
True
, if the given pattern
member
represents a field of
class
. It is only needed for assignments of fields using the
Dot
operator.
MORE INFORMATION
ClassFieldQ
has attribute
HoldRest
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
This loads the package.
In[1]:=
We start with the definition of a class that contains a
field
and a
method
.
In[2]:=
The
field
is recognized, while the checks on the
method
and its name yield
False
.
In[3]:=
Out[3]=
Out[3]=
Out[3]=
Out[3]=
SEE ALSO
Class
ClassFieldSlot
RELATED LINKS
Objectica
Symbols and Numbers (makers of Objectica)
MORE ABOUT
Overview
Reference Guide