Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript language elements > Operators > typeof operator | |||
typeof(expression)
Evaluates the expression and returns a string specifying whether the expression is a String, MovieClip, Object, Function, Number, or Boolean value.
Availability: ActionScript 1.0; Flash Player 5
expression : Object - A string, movie clip, button, object, or function.
String - A String representation of the type of expression. The following table shows the results of the typeof operator on each type of expression.
|
Expression Type |
Result |
|---|---|
|
String |
|
|
Movie clip |
|
|
Button |
|
|
Text field |
|
|
Number |
|
|
Boolean |
|
|
Object |
|
|
Function |
|
Version 8
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00001857.html
Comments
Fumio Nonaka said on Oct 16, 2005 at 1:19 PM :