# Function: isValidRecoveryCode()

```ts
function isValidRecoveryCode(code): boolean;
```

Defined in: [packages/core/src/identity/recovery-code.ts:48](https://github.com/leifriksheim/minca/blob/main/core/src/identity/recovery-code.ts#L48)

Checks whether a code could decode to a seed.

## Parameters

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

## Returns

`boolean`
