> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# selectionBounds()

> Function exported by @botmesh/core/spi.

```ts theme={null}
function selectionBounds(field): object;
```

Defined in: [forms/validate.ts:123](https://github.com/andresayac/botmesh/blob/main/packages/core/src/forms/validate.ts#L123)

Effective `[min, max]` picks of a multiselect.

## Parameters

| Parameter | Type |
| - | - |
| `field` | [`MultiSelectFormField`](https://botmesh.afaya.com.co/api/core/interfaces/MultiSelectFormField) |

## Returns

`object`

| Name | Type | Defined in |
| - | - | - |
| `min` | `number` | [forms/validate.ts:123](https://github.com/andresayac/botmesh/blob/main/packages/core/src/forms/validate.ts#L123) |
| `max` | `number` | [forms/validate.ts:123](https://github.com/andresayac/botmesh/blob/main/packages/core/src/forms/validate.ts#L123) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.