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

# Class: ScenarioValue<T>

> A typed expression shared by scenario recipes and model compositions.

[scenarios](/api/modules/scenarios).ScenarioValue

A typed expression shared by scenario recipes and model compositions.

## Type parameters

| Name |
| :- |
| `T` |

## Properties

### expression

• `Readonly` **expression**: [`ScenarioExpression`](/api/modules/server#scenarioexpression)

## Methods

### field

▸ **field**\<`Key`>(`name`): [`ScenarioValue`](/api/classes/scenarios.ScenarioValue)\<`T`\[`Key`]>

#### Type parameters

| Name | Type |
| :- | :- |
| `Key` | extends `T` extends readonly `unknown`\[] \| `ArrayBuffer` ? `never` : `T` extends `object` ? keyof `T` & `string` : `never` |

#### Parameters

| Name | Type |
| :- | :- |
| `name` | `Key` |

#### Returns

[`ScenarioValue`](/api/classes/scenarios.ScenarioValue)\<`T`\[`Key`]>


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