MCPcopy
hub / github.com/tinymce/tinymce / isModifier

Function isModifier

modules/tinymce/src/core/main/ts/api/Shortcuts.ts:70–71  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

68type CommandFunc = string | [string, boolean, any] | (() => void);
69
70const isModifier = (key: string): key is keyof ModifierMap =>
71 key in modifierNames;
72
73const parseShortcut = (pattern: string): Shortcut => {
74 const shortcut = {} as Shortcut;

Callers 1

parseShortcutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…