> Development branch documentation · commit 327c05c78d2f528e4f4a679fcc7a77d9aa161f48
> Package versions: @zenfg/webgpu 0.1.0, @zenfg/snapshot 0.1.0, @zenfg/inspector 0.1.0, zenfg 0.1.0, zenfg-snapshot 0.1.0
> Source: https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/inspector/src/query.ts#L11

[ZenFG TypeScript API](/zenfg/docs/api/index.md) / [inspector](/zenfg/docs/api/inspector/index.md) / [root](/zenfg/docs/api/inspector/root/index.md) / isZenFGInspectorRequested

# Function: isZenFGInspectorRequested()

> **isZenFGInspectorRequested**(`href?`): `boolean`

Defined in: [inspector/src/query.ts:11](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/inspector/src/query.ts#L11)

Reports whether a URL contains the `fg` inspector opt-in parameter.

## Parameters

### href?

`string` = `globalThis.location.href`

Absolute URL accepted by `URL`; defaults to the current page
URL when a browser location is available.

## Returns

`boolean`

`false` when no URL is available or the supplied URL is invalid.
