isWebService

isWebService(): Boolean;

The isWebService method of the Application class returns true if the application is running as a Web service or it returns false if the application is not running as a Web service.