isArrowKey Function
Deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
Determines if a KeyboardEvent.key is an Arrow key
isArrowKey(key: string): boolean
| Parameter | Type | Description |
|---|---|---|
| key | string |
Returns - boolean
Defined in
Last Updated: 16 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.