# Function: connectCodeIn()

```ts
function connectCodeIn(hash): string | null;
```

Defined in: [packages/core/src/session/connect-code.ts:109](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect-code.ts#L109)

The code in a link the home was opened at, or null: `#mc_…`

## Parameters

| Parameter | Type |
| ------ | ------ |
| `hash` | `string` |

## Returns

`string` \| `null`
