(event)
| 297 | * @returns {boolean} Whether the key event should be captured. |
| 298 | */ |
| 299 | export function shouldCaptureKeyEvent (event) { |
| 300 | if (event.metaKey) { return false; } |
| 301 | return document.activeElement === document.body; |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * Splits a string into an array based on a delimiter. |
no outgoing calls
no test coverage detected