//#region src/object/get.d.ts /** * Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place. * @param obj - The object to query * @param path - The path of the property to get (can be string or array) * @param defaultValue - The value returned if the resolved value is undefined * @returns Returns the resolved value * @example * const obj = { a: { b: { c: 3 } } }; * get(obj, 'a.b.c'); // 3 * get(obj, ['a', 'b', 'c']); // 3 * get(obj, 'a.b.d', 'default'); // 'default' */ declare function get(obj: unknown, path: string | readonly (string | number)[], defaultValue?: D): T | D; //#endregion export { get }; //# sourceMappingURL=get.d.mts.map