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