<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Keymap`](Keymap) › [`isModEvent`](Keymap/isModEvent)
## Keymap.isModEvent() method
Translates an event into the type of pane that should open. Returns 'tab' if the modifier key Cmd/Ctrl is pressed OR if this is a middle-click MouseEvent. Returns 'split' if Cmd/Ctrl+Alt is pressed. Returns 'window' if Cmd/Ctrl+Alt+Shift is pressed.
0.16.0
**Signature:**
```typescript
static isModEvent(evt?: UserEvent | null): PaneType | boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>evt</code> | [`UserEvent`](UserEvent)<code> | null</code> | _(Optional)_ |
**Returns:**
[`PaneType`](PaneType)` | boolean`