# audienceSlugToScope

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/project/audience-scope.util.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/project/audience-scope.util.ts#L21)

Map a public audience slug to its doc-set scope.
'api' → 'api' (styled API reference set); 'technical' | 'developer' → 'technical'
(code/entity reference); everything else → 'user' (end-user manual).

## Signature

```ts
function audienceSlugToScope(audienceSlug: string | null): DocAudienceScope
```

## Parameters

| Name | Type |
|---|---|
| `audienceSlug` | `string | null` |

**Returns:** `DocAudienceScope`
