UNPKG

@modern-js/libuild-utils

Version:

utils for libuild

5 lines (4 loc) 334 B
export declare function isEmpty<T>(value: T | null | undefined): value is null; export declare function isDef<T>(x: T): x is NonNullable<T>; export declare function isObject(value: any): value is Record<string | symbol | number, any>; export declare function isEmptyObject(value: any): value is Record<string | symbol | number, any>;