UNPKG

@mixtape/core

Version:

Supercharged fixture library for organizing and generating test data

4 lines (3 loc) 271 B
export declare function isObject(value: any): value is object; export declare function isArray(value: any): value is unknown[]; export declare function ensure<T extends Error>(predicate: () => boolean, errorMessage: string, errorType?: new (message: string) => T): void;