T > typeof |
typeof
typeof
Availability
Flash Player 5.
Usage
typeofexpression
Parameters
expression A string, movie clip, button, object, or function.
Description
Operator; a unary operator placed before a single parameter. The typeof operator causes the Flash interpreter to evaluate expression; the result is a string specifying whether the expression is a string, movie clip, object, or function. The following table shows the results of the typeof operator on each type of expression:
Parameter |
Output |
String |
|
MovieClip |
|
Button |
|
Text field |
|
Number |
|
Boolean |
|
Object |
|
Function |
|