(component: Component | null)
| 115 | |
| 116 | /** Type guard to check if a component implements Focusable */ |
| 117 | export function isFocusable(component: Component | null): component is Component & Focusable { |
| 118 | return component !== null && "focused" in component; |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Cursor position marker - APC (Application Program Command) sequence. |