Back
IsService
Hello World
Checks if the currently running app instance is a service.
app.IsService() →
Boolean
Example - Check if App is Service
function
OnStart
(
)
{
var
isSvc
=
app
.
IsService
(
)
;
app
.
Alert
(
isSvc
,
"IsService"
)
;
}
Copy
Copy All
Run