UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

9 lines (8 loc) 561 B
export declare const isDefined: (o?: unknown) => boolean; export declare const isFunction: (o?: unknown) => o is (...params: unknown[]) => unknown; export declare const isA: <T>(t?: unknown, ...properties: (keyof T)[]) => t is T; export declare const isAn: <T>(t?: unknown, ...properties: (keyof T)[]) => t is T; export declare const isArray: <T = any>(o?: unknown) => o is T[]; export declare const isObject: (o?: unknown) => o is Record<string, unknown>; export declare const asJson: (a?: unknown) => any; export declare const asString: (a?: unknown) => any;