# isPlatformHotkeys

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

```ts
function isPlatformHotkeys(hotkey): hotkey is { default: unknown } & Partial<Record<HotkeyPlatform, unknown>> & { alternates?: readonly unknown[] };
```

Defined in: [platform.ts:119](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/platform.ts#L119)

Whether a hotkey is a hotkey object with a `default`, platforms, and
alternates, not a chord object: it names `default`, a platform, or
`alternates`, and neither `key` nor `code`.

## Parameters

### hotkey

`unknown`

## Returns

`hotkey is { default: unknown } & Partial<Record<HotkeyPlatform, unknown>> & { alternates?: readonly unknown[] }`
