| Cisco Packet Tracer Extensions API 8.1.0
    API for communication between Cisco Packet Tracer application and its extension applications and modules. | 
ScriptValue provides functionality to convert this script Engines values to basic types. More...
| Public Member Functions | |
| bool | isBoolean () | 
| Returns true if this ScriptValue is a boolean, otherwise false.  More... | |
| bool | isFunction () | 
| Returns true if this ScriptValue is a function, otherwise false.  More... | |
| bool | isNull () | 
| Returns true if this ScriptValue is null, otherwise false.  More... | |
| bool | isNumber () | 
| Returns true if this ScriptValue is a number, otherwise false.  More... | |
| bool | isObject () | 
| Returns true if this ScriptValue is an object, otherwise false.  More... | |
| bool | isUndefined () | 
| Returns true if this ScriptValue is undefined, otherwise false.  More... | |
| bool | isValid () | 
| Returns true if this ScriptValue is valid, otherwise false.  More... | |
| bool | isString () | 
| Returns true if this ScriptValue is a string, otherwise false.  More... | |
| bool | isError () | 
| Returns true if this ScriptValue is an error, otherwise false.  More... | |
| bool | isArray () | 
| Returns true if this ScriptValue is an array, otherwise false.  More... | |
| ScriptValue | property (QString) | 
| Returns the specified property.  More... | |
| bool | toBoolean () | 
| Converts the ScriptValue to a boolean.  More... | |
| int | toInt32 () | 
| Converts the ScriptValue to an integer.  More... | |
| QString | toString () | 
| Converts the ScriptValue to a QString.  More... | |
ScriptValue provides functionality to convert this script Engines values to basic types.
| bool ScriptValue::isArray | ( | ) | 
Returns true if this ScriptValue is an array, otherwise false.
| bool ScriptValue::isBoolean | ( | ) | 
Returns true if this ScriptValue is a boolean, otherwise false.
| bool ScriptValue::isError | ( | ) | 
Returns true if this ScriptValue is an error, otherwise false.
| bool ScriptValue::isFunction | ( | ) | 
Returns true if this ScriptValue is a function, otherwise false.
| bool ScriptValue::isNull | ( | ) | 
Returns true if this ScriptValue is null, otherwise false.
| bool ScriptValue::isNumber | ( | ) | 
Returns true if this ScriptValue is a number, otherwise false.
| bool ScriptValue::isObject | ( | ) | 
Returns true if this ScriptValue is an object, otherwise false.
| bool ScriptValue::isString | ( | ) | 
Returns true if this ScriptValue is a string, otherwise false.
| bool ScriptValue::isUndefined | ( | ) | 
Returns true if this ScriptValue is undefined, otherwise false.
| bool ScriptValue::isValid | ( | ) | 
Returns true if this ScriptValue is valid, otherwise false.
| ScriptValue ScriptValue::property | ( | QString | ) | 
Returns the specified property.
| name,the | name of the property of interest. | 
| bool ScriptValue::toBoolean | ( | ) | 
Converts the ScriptValue to a boolean.
| int ScriptValue::toInt32 | ( | ) | 
Converts the ScriptValue to an integer.
| QString ScriptValue::toString | ( | ) | 
Converts the ScriptValue to a QString.