UNPKG

json-tree-view-vue3

Version:
10 lines 774 B
import type { PrimitiveTypes } from './JsonTreeViewItem.vue'; export declare const isArray: (value: unknown) => value is unknown[]; export declare const isObject: (value: unknown) => value is Record<string, unknown>; export declare const isPrimitive: (value: unknown) => value is PrimitiveTypes; export declare const getValueColorVariable: (value: PrimitiveTypes) => string; export declare const formatKey: (key: string) => string; export declare const getLengthString: (length: number, isArray: boolean) => string; export declare const buildPath: (basePath: string, key: string, includeKey: boolean, isArrayElement?: boolean) => string; export declare const buildValuePath: (basePath: string, key: string, includeKey: boolean) => string; //# sourceMappingURL=utils.d.ts.map