UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 660 B
import type { LogParams } from '../../types/internal'; /** * Asserts that the value is boolean ('true` or `false`). */ export declare function assertValueIsBoolean<Type>(value: Type, check: string, payload?: LogParams): asserts value is Type & boolean; /** * Asserts that the value is `false` (strictly equal to `false`). */ export declare function assertValueIsFalse<Type>(value: Type | false, check: string, payload?: LogParams): asserts value is false; /** * Asserts that the value is `true` (strictly equal to `true`). */ export declare function assertValueIsTrue<Type>(value: Type | true, check: string, payload?: LogParams): asserts value is true;