# deviceCodeTail

<!-- https://uncage.vercel.app/docs/api/react/functions/devicecodetail/ -->

```ts
function deviceCodeTail(code): string;
```

Defined in: react/src/hooks.ts:449

The characters a user types to confirm a code that came in a link: its last 4 (`ABCD-EFGH` → `EFGH`).

## Parameters

| Parameter | Type |
| ------ | ------ |
| `code` | `string` |

## Returns

`string`
