---
url: /api/@ufo-soft/caelus/keybindings/functions/chordOf.md
---
# Function: chordOf()

> **chordOf**(`e`): `string`

Defined in: [keybindings.ts:85](https://github.com/ufo-soft/caelus/blob/31cc32fc3d2008e3b0d484d65d10bba2a91a5897/packages/caelus/src/keybindings.ts#L85)

KeyboardEvent -> canonical chord string, or '' when the key is itself a modifier.

## Parameters

### e

`KeyboardEvent`

## Returns

`string`
