Back
GetType
JS
Py
Hello World
Returns the object class name.
app.GetType() →
String:
“App”
Example - GetType
function
OnStart
(
)
{
var
type
=
app
.
GetType
(
)
;
app
.
Alert
(
type
,
"Type"
)
;
}
def
OnStart
(
)
:
type
=
app
.
GetType
(
)
app
.
Alert
(
type
,
"Type"
)
Copy
Copy All
Run