Objectica
Symbol
Attributes and Interfaces
Tutorials »
|
Property
ClassAttributes
Class
See Also »
|
Overview
Reference Guide
More About »
PropertyQ
PropertyQ[
object
,
property
]
is a function that yields
True
during access to a
property
marked with
Property
.
PropertyQ[
class
,
property
]
does the same for a class bound property.
MORE INFORMATION
PropertyQ
has attribute
HoldRest
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
This loads the package.
In[1]:=
The next class has a print statement for
PropertyQ
in a getter and in another method.
In[2]:=
PropertyQ[]
is true only within the property access that is used automatically instead of the property itself.
In[3]:=
SEE ALSO
Property
ClassAttributes
Class
TUTORIALS
Modifiers
and
Interfaces
RELATED LINKS
Objectica
Symbols and Numbers (makers of Objectica)
MORE ABOUT
Overview
Reference Guide