company logo

Application :: hasContext - Has application context been set

The application context allows setting any kind of context in order to control system output and progress indication. Usually, both are shown via console output. GUI applications allow redirecting output to application's output area (and status bar).

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Application  :: hasContext (  )

The property returns, whether an application context has been set by calling context(). In order to avoid exceptions, the function might be called before requesting the application context by calling context().