UNPKG

@coralogix/browser

Version:

Official Coralogix SDK for browsers

10 lines (9 loc) 758 B
export declare function isObject(value: unknown): boolean; type NestedKeyOf<ObjectType extends Record<string, any>> = { [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : `${Key}`; }[keyof ObjectType & (string | number)]; export declare function omit<const T extends Record<string, any>, const K extends string | NestedKeyOf<T>>(object?: T, ...paths: K[]): Omit<T, K> | Partial<T> | T; export declare function pick<const T extends Record<string, any>, const K extends string | NestedKeyOf<T>>(object?: T, ...keys: K[]): Pick<T, K> | Partial<T> | T; export declare function isEmpty(value: any): boolean; export declare function isNotEmpty(value: any): boolean; export {};