/** * Determine if an object exists in an array * * @param object - The object to look for in the array * @param array - The array to search through * @param comparator - The function to determine what object values to compare * @returns True if a match was found * * @example * const arr = [{id: 1}, {id: 2}, {id: 3}]; * const comparator = (v) => v.id; * arrayContainsObject({id: 2}, array, comparator); // Returns: true */ export declare function arrayContainsObject(object: Record, array: any[], comparator: (value: any) => string): boolean;