import type { ReadOnlyRecord } from "@vangware/types"; /** * Check if the given key is present in the given object (not inherited). * * @category Predicates * @category Objects * @example * ```typescript * const isPropertyOfFoo = isPropertyOf({ "🟢": "🟩" }); * isPropertyOfFoo("🟢"); // true * isPropertyOfFoo("🟩"); // false * ``` * @param object Object to check. * @returns Curried function with `context` set. */ export declare const isPropertyOf: ( object: ReadOnlyRecord, ) => (key: Key) => boolean;