Are you an LLM? You can read better optimized documentation at /is-background.md for this page in Markdown format
@wxt-dev/is-background
Exports a getter to determine if the current JS context is the background or not.
Installation
shpnpm add @wxt-dev/is-background
Usage
tsimport { isBackground } from '@wxt-dev/is-background';
isBackground(); // true | false