//#region src/object/set.d.ts /** * Sets the value at path of object. If a portion of path doesn't exist, it's created. * @param obj - The object to modify * @param path - The path of the property to set (can be string or array) * @param value - The value to set * @returns Returns the object * @example * const obj = { a: { b: { c: 3 } } }; * set(obj, 'a.b.c', 4); * set(obj, ['x', 'y', 'z'], 5); * set(obj, 'a.b.d[0]', 6); */ declare function set(obj: T, path: string | readonly (string | number)[], value: unknown): T; //#endregion export { set }; //# sourceMappingURL=set.d.cts.map