//#region src/object/has.d.ts /** * Checks if path is a direct or inherited property of object * @param obj - The object to query * @param path - The path to check (can be string or array) * @returns Returns true if path exists, else false * @example * const obj = { a: { b: { c: 3 } } }; * has(obj, 'a.b.c'); // true * has(obj, ['a', 'b', 'c']); // true * has(obj, 'a.b.d'); // false */ declare function has(obj: unknown, path: string | readonly (string | number)[]): boolean; //#endregion export { has }; //# sourceMappingURL=has.d.cts.map