# isVocabValue

> Whether value is one of the recommended values of vocab.

> **isVocabValue**\<`V`\>(`vocab`, `value`): `value is V`

Whether `value` is one of the recommended values of `vocab`.

## Type Parameters

### V

`V` *extends* `string`

## Parameters

### vocab

readonly [`VocabEntry`](/core/api/type-aliases/VocabEntry)\<`V`\>[]

### value

`string` \| `undefined`

## Returns

`value is V`
