---
url: /reference/api/logger/prompts.Variable.multiselect.md
---
# Variable: multiselect

```ts twoslash
// @include: imports
const multiselect: <Value>(opts) => Promise<Value[] | typeof CANCEL_SYMBOL>;
```

Defined in: node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:756

## Type Parameters

&#x20;`Value`

## Parameters

`opts`

[`MultiSelectOptions`](prompts.Interface.MultiSelectOptions.md)<`Value`>

## Returns

`Promise`<`Value`\[] | *typeof* [`CANCEL_SYMBOL`](prompts.Variable.CANCEL_SYMBOL.md)>
