# MaybeGetter

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

```ts
type MaybeGetter<T> = T | (() => T);
```

Defined in: [hotkey.types.ts:336](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.types.ts#L336)

A value, or a function that returns it, for options read when needed.

## Type Parameters

### T

`T`
