/** * Get 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 (string with dots or array) * @param defaultValue - The value returned if the resolved value is undefined * @returns The resolved value * * @example * getFast({ a: { b: { c: 3 } } }, 'a.b.c') // 3 * getFast({ a: { b: { c: 3 } } }, ['a', 'b', 'c']) // 3 * getFast({ a: { b: { c: 3 } } }, 'a.b.x', 'default') // 'default' */ export declare function getFast(obj: T, path: string | readonly (string | number)[], defaultValue?: D): unknown; //# sourceMappingURL=get.d.ts.map