AxAssertion
Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/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/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/asserts.ts#L4
Parameters
| Parameter | Type |
|---|---|
values | T |
Returns
| string
| boolean
| Promise<string | boolean | undefined>
| undefined