Find out deployment type?

Hello,
I can not find the answer in the documentation so probably I am searching for the wrong term. Maybe you can point me in the right direction.

When building for desktop we can do for example:
#if TargetCocoa then…

Is there a built in function so that a web-application knows if it is deployed as cgi or standalone?
For example something like:

#if Standalone then…

#if CGI then…

http://developer.xojo.com/conditional-compilation
http://developer.xojo.com/compiler-constants

If App.Mode = 0 Then
// CGI
ElseIf App.Mode = 1 Then
// Standalone
End If

See: http://documentation.xojo.com/index.php/WebApplication.Mode

Hello,
thanks Norman, I know that constants but I did dot find exactly what I am looking for there.
Thanks Phillip, that property seems to do the right thing!

Happy to help.

yeah I see I misinterpretted what you were looking for