# Function: directBound()

```ts
function directBound(
   spaceId, 
   from, 
   to
): object;
```

Defined in: [packages/core/src/privacy/direct.ts:42](https://github.com/leifriksheim/minca/blob/main/core/src/privacy/direct.ts#L42)

What the text is bound to: the space, who wrote it, and who it is for, sorted and joined by commas

## Parameters

| Parameter | Type |
| ------ | ------ |
| `spaceId` | `string` |
| `from` | `string` |
| `to` | readonly `string`[] |

## Returns

`object`

### from

```ts
from: string;
```

### space

```ts
space: string = spaceId;
```

### to

```ts
to: string;
```
