UNPKG

@lanyue/react-object-viewer

Version:

A flexible and lightweight object viewer component for React.

9 lines (8 loc) 483 B
export declare function getIterateDescriptors(o: any): { key: string; descriptor: TypedPropertyDescriptor<any> & PropertyDescriptor; }[]; export declare function getType(v: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "null" | "array"; export declare function getPrototype(o: any): string; export declare function getConstructorName(v: object): any; export declare function clsx(o: Record<string, any> | any[]): string;