UNPKG

e2ed

Version:

E2E testing framework over Playwright

10 lines (9 loc) 416 B
import type { LogParams } from '../../types/internal'; /** * Asserts that the value is not `null`. */ export declare function assertValueIsNotNull<Type>(value: Type, check: string, payload?: LogParams): asserts value is Exclude<Type, null>; /** * Asserts that the value is `null`. */ export declare function assertValueIsNull<Type>(value: Type, check: string, payload?: LogParams): asserts value is null & Type;