tuil
ReferencePackages@mwillbanks/tuil-hotkeysAPI

normalizeHotkeyNotation

function exported by @mwillbanks/tuil-hotkeys.

View rawEdit

function

Public function exported by @mwillbanks/tuil-hotkeys.

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

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
notationstringYesSupplies the notation value as string.
platformNodeJS.PlatformNoSupplies the platform value as NodeJS.Platform.

Returns

string — Returns a value that satisfies string.

Related types: —

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-hotkeys

On this page