/** * Checks if the path is a direct property of obj * * @since v0.0.1 * @category Object * @template {T} - The type of the original object * @param {T} obj - The original object * @param {string} path - The path to the desired key * @returns {boolean} * @example * has({ a: { b: { c: 3 }, d: null } }, 'a.b.c') => true * has({ a: { b: { c: 3 }, d: null } }, 'a.b.d') => false * has({ a: { b: { c: 3 }, d: null } }, 'x.y.z') => false */ export declare const has: >(obj: T, path: string) => boolean;