# getHotkeysContext

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

```ts
function getHotkeysContext(): HotkeysContextValue | null;
```

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

## Returns

`HotkeysContextValue` \| `null`
