# normalizeHotkeyNotation

Source: /tuil/docs/reference/packages/hotkeys/api/normalize-hotkey-notation
Locale: en

function exported by @mwillbanks/tuil-hotkeys.



{/* Generated by tooling/docs/generate-reference.ts. */}

## function [#function]

Public function exported by `@mwillbanks/tuil-hotkeys`.

```ts
export function normalizeHotkeyNotation(
  notation: string,
  platform: NodeJS.Platform = process.platform,
): string;
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

| Member     | Type              | Required | Description                                         | Related types |
| ---------- | ----------------- | -------- | --------------------------------------------------- | ------------- |
| `notation` | `string`          | Yes      | Supplies the `notation` value as `string`.          | —             |
| `platform` | `NodeJS.Platform` | No       | Supplies the `platform` value as `NodeJS.Platform`. | —             |

## Returns [#returns]

`string` — Returns a value that satisfies `string`.

Related types: —

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/hotkeys/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-hotkeys](/tuil/docs/reference/packages/hotkeys)
