# charset

function in `@dioramajs/text/scramble`

```ts
import { charset } from '@dioramajs/text/scramble'
```

The glyphs of `chars`: a named set, or the distinct visible graphemes of the string.

```ts
function charset(chars: string): string[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `chars` | `string` |  |

Defined in [packages/text/src/scramble.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/scramble.ts#L448).
