(event: object)
| 53 | |
| 54 | /** Das Kuerzel, als das diese Oberflaeche das Ereignis verbraucht hat, oder nichts. */ |
| 55 | export function handledShortcutOf(event: object): string | undefined { |
| 56 | const value = (event as Record<string, unknown>)[HANDLED]; |
| 57 | return typeof value === 'string' && value.length > 0 ? value : undefined; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Wer den Tastendruck verbraucht hat. |
no outgoing calls
no test coverage detected