Home > @wixc3/testing > Predicate
A predicate function
Any return value other than **false** or throwing is considered as satisfying the predicate
Signature:
export type Predicate<T> = (actionResult: Awaited<T>) => boolean | Chai.Assertion | void;