ClassA 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 EXPRESSIONSstring integer real boolean class
- The class identifier for the object. This property is read-only, and its value is always
OPERATORSThe 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 SUPPORTEDAppleScript supports coercion of a class identifier to a single-item list.