isArrowKey Function
Deprecated in 4.3 - will not be removed until after 2026-06-13. 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: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.