[**Documentation**](../../../README)

***

[Documentation](../../../README) / [zerotal](../../README) / [index](../README) / currentApp

# Function: currentApp()

> **currentApp**(): [`Application`](../classes/Application)

Defined in: [packages/core/src/application/currentApp.ts:44](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/application/currentApp.ts#L44)

The current application — the framework's one ambient accessor.

Resolution order: the [withApp](withApp) scope override, then the process default.

## Returns

[`Application`](../classes/Application)

## Throws

when no application is available (none created and not inside a
[withApp](withApp) scope).
