# MaskSlot (@salmonui/inputs/masked-field)

> The MaskSlot interface of @salmonui/inputs/masked-field.

Canonical: https://salmonui.dev/docs/reference/inputs/masked-field/MaskSlot

```ts
import type { MaskSlot } from '@salmonui/inputs/masked-field';
```

Entry index: https://salmonui.dev/docs/reference/inputs/masked-field (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/masked-field.md).

## Reference

Kind: interface

```ts
interface MaskSlot {
    readonly test: ((ch: string) => boolean) | null;
    readonly literal: string;
    readonly required: boolean;
    readonly shift: 'upper' | 'lower' | null;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `test` | `readonly test: ((ch: string) => boolean) \| null;` |  | `null` for a literal. |
| `literal` | `readonly literal: string;` |  | The literal character, or `''` for an input slot. |
| `required` | `readonly required: boolean;` |  |  |
| `shift` | `readonly shift: 'upper' \| 'lower' \| null;` |  |  |
