Class
A value of class Class is a class identifier. A class identifier is a reserved word that specifies the class to which an object or value belongs. The Class property of an object contains a class identifier value.LITERAL EXPRESSIONS
string integer real boolean classPROPERTY
Class
- The class identifier for the object. This property is read-only, and its value is always
class
.ELEMENTS
NoneOPERATORS
The operators that take class identifier values as operands are&
,=
,�
, and As.The operator As takes a value of one class and coerces it to a value of a class specified by a class identifier. For example,
"1.5" as realcoerces a string into the corresponding real number,1.5
. For more information about coercing values, see Chapter 6, "Expressions."COERCIONS SUPPORTED
AppleScript supports coercion of a class identifier to a single-item list.