# getHotkeysContext

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function getHotkeysContext(): 
  | HotkeysContextValue<HotkeysProviderOptions>
  | null;
```

Defined in: [packages/svelte-hotkeys/src/HotkeysCtx.ts:166](https://github.com/TanStack/hotkeys/blob/main/packages/svelte-hotkeys/src/HotkeysCtx.ts#L166)

## Returns

  \| `HotkeysContextValue`\<[`HotkeysProviderOptions`](../interfaces/HotkeysProviderOptions.md)\>
  \| `null`
