parseShortcut function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function parseShortcut(text: string): Shortcut | null;

Reads a shortcut such as Primary+Shift+S; null when the text is not one.