Action
Action<
T,R> = (subject,judgment) =>R|Promise<R>
Defined in: src/builders/given.ts:15
A callback chosen by a judgment. It receives the subject and the judgment that selected it.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
R |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
subject |
T |
judgment |
Judgment<boolean> |
Returns
Section titled “Returns”R | Promise<R>