AxAssertion
Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/asserts.ts#L3
Type Parameters
| Type Parameter | Default type |
|---|---|
T | Record<string, unknown> |
Properties
| Property | Type |
|---|---|
message? | string |
Methods
fn()
fn(values: T):
| string
| boolean
| Promise<string | boolean | undefined>
| undefined;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/asserts.ts#L4
Parameters
| Parameter | Type |
|---|---|
values | T |
Returns
| string
| boolean
| Promise<string | boolean | undefined>
| undefined