Skip to content

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 Parameter
T
R
Parameter Type
subject T
judgment Judgment<boolean>

R | Promise<R>