@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
6 lines (5 loc) • 308 B
TypeScript
import { Data } from './types';
export declare const getValueByPath: <T = any>(obj: Data | undefined, path: string | undefined) => T | undefined;
export declare const setValueByPath: (obj: Data | undefined, path: string | undefined, value: any, { addPath }?: {
addPath?: boolean | undefined;
}) => void;