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.