typeof Operator | Flash 5 |
determine the datatype of an expression or identifier |
The expression or identifier whose datatype will be determined.
A string indicating the datatype of the evaluated operand as shown in Table 3-4 in Chapter 3.
The typeof operator returns the datatype of operand. For example, it returns "movieclip" when used with a movie clip identifier.
instanceof; "The typeof Operator," in Chapter 5; "Determining the Type of an Existing Datum," and Table 3-4 in Chapter 3